equal
deleted
inserted
replaced
389 return INFEASIBLE; |
389 return INFEASIBLE; |
390 default: |
390 default: |
391 return UNDEFINED; //Everything else comes here |
391 return UNDEFINED; //Everything else comes here |
392 //FIXME error |
392 //FIXME error |
393 } |
393 } |
394 |
394 } |
395 |
395 |
396 LpCplex::ProblemTypes LpCplex::_getProblemType() |
396 LpCplex::ProblemTypes LpCplex::_getProblemType() |
397 { |
397 { |
398 int stat = CPXgetstat (env, lp); |
398 int stat = CPXgetstat (env, lp); |
399 switch (stat) { |
399 switch (stat) { |
400 case CPX_OPTIMAL://Optimal |
400 case CPX_OPTIMAL://Optimal |
408 default: |
408 default: |
409 //In all other cases |
409 //In all other cases |
410 return UNKNOWN; |
410 return UNKNOWN; |
411 //FIXME error |
411 //FIXME error |
412 } |
412 } |
413 |
413 } |
414 |
414 |
415 void LpCplex::_setMax() |
415 void LpCplex::_setMax() |
416 { |
416 { |
417 CPXchgobjsen (env, lp, CPX_MAX); |
417 CPXchgobjsen (env, lp, CPX_MAX); |
418 } |
418 } |