equal
deleted
inserted
replaced
59 } |
59 } |
60 |
60 |
61 MipCplex::ColTypes MipCplex::_colType(int i) const { |
61 MipCplex::ColTypes MipCplex::_colType(int i) const { |
62 |
62 |
63 char ctype[1]; |
63 char ctype[1]; |
64 status = CPXgetctype (env, lp, ctype, i, i); |
64 CPXgetctype (env, lp, ctype, i, i); |
65 switch (ctype[0]){ |
65 switch (ctype[0]){ |
66 |
66 |
67 case CPX_INTEGER: |
67 case CPX_INTEGER: |
68 return INT; |
68 return INT; |
69 case CPX_CONTINUOUS: |
69 case CPX_CONTINUOUS: |
125 return x; |
125 return x; |
126 } |
126 } |
127 |
127 |
128 MipCplex::Value MipCplex::_getPrimalValue() const { |
128 MipCplex::Value MipCplex::_getPrimalValue() const { |
129 Value objval; |
129 Value objval; |
130 status = CPXgetmipobjval(env, lp, &objval); |
130 CPXgetmipobjval(env, lp, &objval); |
131 return objval; |
131 return objval; |
132 } |
132 } |
133 } //END OF NAMESPACE LEMON |
133 } //END OF NAMESPACE LEMON |