Skip to content

Objective value from dual feasible solution mismatch getObjValue() in dual simplex #291

@febattista

Description

@febattista

Hi all,

Here I have a small example (a .cpp with some .mps files) in which I'm using CLP via OsiClpSolverInterface to replicate some unexpected behaviors. Here I'm calling initialSolve() but CLP has been set to always go for the dual simplex. Shouldn't this suggest that no matter the state of CLP, the dual solution should be feasible and the objective value should match?

This example is replicating the following behavior:
When iteration limit is reached or the LP is proven primal infeasible, the objective value from si.getObjValue() and the one computed from si.getRowPrices(), si.getReducedCosts() doesn't match;

To run the example I would do ./it_limit_bug lp_it_0.mps

Thanks in advance for the support,

Federico

it_limit_bug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions