Opened 10 years ago

Closed 20 months ago

#93 closed defect (migrated)

OsiCpxSolverInterface's getWarmStart() returns incorrect row status

Reported by: ojasparekh Owned by: mjs
Priority: major Milestone:
Component: Osi Base Class Version: 0.100.2
Keywords: Cc:

Description

Currently OsiCpxSolverInterface::getWarmStart matches it's returned Status value with the corresponding cplex value (e.g. CPX_AT_LOWER => atLowerBound). This is correct for ranged rows, but for others this correspondence is not quite correct:

"[From cplex documentation: ] For rows other than ranged rows, the array element rstat[i] has the following meaning: CPX_AT_LOWER 0 associated slack/surplus/artificial variable non-basic at value 0.0 CPX_BASIC 1 associated slack/surplus/artificial variable basic,"

while the returned CoinWarmStartBasis::Status value has distinct statuses for non-basic variables depending on the type of non-ranged row. The attached patch attempts to address this.

Change History (1)

comment:1 Changed 20 months ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there: https://github.com/coin-or/Osi/issues/93

Note: See TracTickets for help on using tickets.