Problem

Core problem representation with variables, constraints, and objective

Core problem representation with variables, constraints, and objective

Central data structure holding the optimization problem definition.

ProblemProperties Struct:

SpecialOrderedSet Struct:

Problem Class:

Key Methods:

Algorithm

Sparsity Pattern Extraction (getConstraintsJacobianSparsityPattern): Identifies nonzero structure for efficient derivative computation:

Jacobian ∂g_i/∂x_j: sparse pattern for AD evaluation Used by NLP solvers (Ipopt) and for hyperplane construction.

Complexity: $O(nnz)$ where nnz = number of variable appearances in constraints

References:

  • Belotti et al. (2009) - Branching and bounds tightening techniques
  • ESH (Extended Supporting Hyperplane) uses this for cut generation
  • McCormick (1976) - Convex relaxations via factorable functions

See Also

Source

Header file: `src/Model/Problem.h`