equal
deleted
inserted
replaced
30 //This is unnecessary: setting integrality constraints on |
30 //This is unnecessary: setting integrality constraints on |
31 //variables will set this, too |
31 //variables will set this, too |
32 |
32 |
33 ///\todo The constant CPXPROB_MIP is |
33 ///\todo The constant CPXPROB_MIP is |
34 ///called CPXPROB_MILP in later versions |
34 ///called CPXPROB_MILP in later versions |
|
35 #if CPX_VERSION < 800 |
35 CPXchgprobtype( env, lp, CPXPROB_MIP); |
36 CPXchgprobtype( env, lp, CPXPROB_MIP); |
|
37 #else |
|
38 CPXchgprobtype( env, lp, CPXPROB_MILP); |
|
39 #endif |
|
40 |
36 } |
41 } |
37 |
42 |
38 void MipCplex::_colType(int i, MipCplex::ColTypes col_type){ |
43 void MipCplex::_colType(int i, MipCplex::ColTypes col_type){ |
39 |
44 |
40 // Note If a variable is to be changed to binary, a call to CPXchgbds |
45 // Note If a variable is to be changed to binary, a call to CPXchgbds |