Opened 10 years ago

Closed 20 months ago

#94 closed defect (migrated)

OsiCpxSolverInterface's getWarmStart() returns incorrect row status

Reported by: ojasparekh Owned by: mjs
Priority: major Milestone:
Component: OsiCpx 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.

Attachments (1)

OsiCpxSolverInterface.patch (853 bytes) - added by ojasparekh 10 years ago.
OsiCpxSolverInterface?.cpp patch

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by ojasparekh

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/94

Note: See TracTickets for help on using tickets.