Skip to content

CBC ERROR: CoinLpIO::readLp on input that Gurobi solves sucessfully #717

@siddharth-krishna

Description

@siddharth-krishna

The following model is solved successfully by Gurobi in ~15min but CBC returns an error:

https://storage.googleapis.com/solver-benchmarks/genx-elec_trex_uc-15-24h.lp

Output logs: (truncated)

Welcome to the CBC MILP Solver 
Version: 2.10.12 
Build Date: Mar  5 2025 

command line - cbc -printingOptions all -import /solver-benchmark/runner/benchmarks/genx-elec_trex_uc-15-24h.lp -randomCbcSeed 1 -ratioGap 0.0001 -solve -solu /solver-benchmark/runner/solutions/genx-elec_trex_uc-15-24h-cbc-2.10.12.sol (default strategy 1)
Option for printingOptions changed from normal to all
### CoinLpIO::readLp(): Variable x1048651 does not appear in objective function or constraints
### CoinLpIO::readLp(): Variable x1048652 does not appear in objective function or constraints
...
### CoinLpIO::readLp(): Variable x2115689 does not appear in objective function or constraints
### CoinLpIO::readLp(): Variable x2115690 does not appear in objective function or constraints
### CoinLpIO::readLp(): Variable -infinity does not appear in objective function or constraints
ERROR: CoinLpIO::readLp, ### ERROR: Bounds; expect a number, get: x2507697

There were -1 errors on input
randomCbcSeed was changed from -1 to 1
ratioGap was changed from 0 to 0.0001
** Current model not valid
** Current model not valid
No match for /solver-benchmark/runner/solutions/genx-elec_trex_uc-15-24h-cbc-2.10.12.sol - ? for list of commands

Is it perhaps related to #716? Thank you.

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