solver
1.0
|
Integer Linear Programming problem is stored in this data structure. More...
#include <ILPModel.h>
Public Member Functions | |
ILPModel (Objective obj=MINIMIZE) | |
size_t | numberOfConstraints () const |
size_t | numberOfVariables () const |
void | checkFormulation () const |
It checks that sizes of vectors and the matrix are valid. | |
void | printStatistics () const |
It prints various statistics like density of A matrix and number of constraints to the standard output. | |
Public Attributes | |
Objective | obj |
Sense of the objective function (minimization/maximization). | |
SparseMatrix< double > | A |
Constraint matrix of the problem. | |
std::vector< double > | c |
Vector of the criterion coefficients. | |
std::vector< const std::tuple< std::vector< double >, std::vector< double > > * > | gurobiC |
Convex functions in the criterion in the format suitable for Gurobi solver. | |
std::vector< double > | b |
Constants in the constraints, i.e. the right-hand side vector of . | |
std::vector< Operator > | ops |
Operators of the constraints, see Operator enum. | |
std::vector< Variable > | x |
Variables of the problem. | |
std::vector< std::string > | varDesc |
Optional description of the variables. | |
std::vector< std::string > | conDesc |
Optional description of the constraints. | |
Integer Linear Programming problem is stored in this data structure.
Data structure corresponding to the Integer Linear Programming problem in the form:
Definition at line 69 of file ILPModel.h.