Overview | Group | Index | Concepts |
The routine CPXgetprobtype
accesses the problem
type that is currently stored in a CPLEX problem object.
Example
probtype = CPXgetprobtype (env, lp);
Value | Symbolic Constant | Meaning |
-1 | - | Error: no problem or environment. |
0 | CPXPROB_LP | Linear program; no quadratic data or ctype information
stored. |
1 | CPXPROB_MILP | Problem with ctype information. |
3 | CPXPROB_FIXEDMILP | Problem with ctype information, integer variables
fixed. |
5 | CPXPROB_QP | Problem with quadratic data stored. |
7 | CPXPROB_MIQP | Problem with quadratic data and ctype information. |
8 | CPXPROB_FIXEDMIQP | Problem with quadratic data and ctype information,
integer variables fixed. |
10 | CPXPROB_QCP | Problem with quadratic constraints. |
11 | CPXPROB_MIQCP | Problem with quadratic constraints and ctype information. |
See Also:
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
CPXgetprobtype
appear in the table.