JuMP interface module
OpenSEFA.JuMPInterfaceModule — Module
Interface between data reconciliation problems and JuMP.jl, a modeling language for mathematical optimization.
The central type is JuMPSolver, which wraps any MOI-compatible optimizer. Solver-specific convenience constructors are provided in dedicated modules:
IpoptSolverModule—IpoptSolver()for smooth nonlinear problems (default).AlpineSolverModule—AlpineSolver()for nonconvex problems requiring a global optimizer.
OpenSEFA.JuMPInterfaceModule.JuMPSolver — Type
Holds a solver for a ReconciliationProblem based on the JuMP framework.
The optimizer field accepts any MOI-compatible optimizer. The default is Ipopt.Optimizer. Solver-specific convenience constructors (IpoptSolver, AlpineSolver, ...) are defined in their respective modules and return a configured JuMPSolver.
OpenSEFA.JuMPInterfaceModule.VariableMap — Type
Mapping of variables' names to JuMP variables.
OpenSEFA.JuMPInterfaceModule.add_fixed_variables! — Method
Add fixed variables to the problem (only applicable in case such trivial replacements weren't performed).
OpenSEFA.JuMPInterfaceModule.add_objective! — Method
Add the reconciliation optimization objective. If there are no measured variables, set 1.0 as the objective and the problem should be understood as a feasibility one.
To add linear cost terms on top of the quadratic objective, wrap the problem in an OptimizationProblem (from OptimizationModule) and dispatch on that type.
OpenSEFA.JuMPInterfaceModule.build_jump_model! — Method
Build a JuMP model for a reconciliation problem.
Encapsulates the common model-building logic (variables, constraints, objective) used by both ReconciliationProblem and OptimizationProblem workflows. The objective dispatch is on full_problem, so OptimizationProblem can override it by defining a method for add_objective!(model, ::OptimizationProblem, ...).
Returns (assignment, equation_assignment).
OpenSEFA.ReconciliationModule.is_cost_functional_supported — Method
This solver supports additional cost functionals.