|
This enumeration lists the possible model types passed to the DoSolve method.
enum ModelType { MODEL_LP = 0x00000001, MODEL_MIP = 0x00000002, MODEL_NLP = 0x00000004, MODEL_QUADRATIC = 0x00000008, MODEL_QUAD_INT = 0x00000010, MODEL_BILIN_INT = 0x00000020, MODEL_TRILINEAR = 0x00000040, MODEL_MCP = 0x00000080, MODEL_MINLP = 0x00000100, MODEL_CONSTR_QUADRATIC = 0x00000200, MODEL_CONSTR_QUAD_INT = 0x00000400, MODEL_MPCC = 0x00000800, MODEL_COP = 0x00001000 };
Members |
Description |
MODEL_LP = 0x00000001 |
Linear programming (LP) |
MODEL_MIP = 0x00000002 |
Mixed integer programming (MIP) |
MODEL_NLP = 0x00000004 |
Nonlinear programming (NLP) |
MODEL_QUADRATIC = 0x00000008 |
Quadratic programming (QP) |
MODEL_QUAD_INT = 0x00000010 |
Mixed integer quadratic programming (MIQP) |
MODEL_BILIN_INT = 0x00000020 |
Bilinear integer programming (not supported yet) |
MODEL_TRILINEAR = 0x00000040 |
Mathematical program with trilinear constraints (not supported yet) |
MODEL_MCP = 0x00000080 |
Mixed complementarity problem (MCP) |
MODEL_MINLP = 0x00000100 |
Mixed integer nonlinear programming (MINLP) |
MODEL_CONSTR_QUADRATIC = 0x00000200 |
Quadratic constrained programming (QCP) |
MODEL_CONSTR_QUAD_INT = 0x00000400 |
Mixed integer quadratic constrained programming (QCP) |
MODEL_MPCC = 0x00000800 |
Mathematical program with complementarity constraints (MPCC) |
MODEL_COP = 0x00001000 |
Constraint programming (CP) |
The GetModelType method.