Skip to content

Problem reading certain .mps models with CBC #716

@KristijanFaust-OET

Description

@KristijanFaust-OET

CBC has problems reading certain .mps models, that are successfully read and solved by other solvers,

Logs:

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

command line - cbc -printingOptions all -import .../times-etimeseu-elec+heat-single_stage-29-64.mps -randomCbcSeed 1 -solve -solu .../solutions/times-etimeseu-elec+heat-single_stage-29-64-cbc-test.sol (default strategy 1)
Option for printingOptions changed from normal to all
At line 16
Unknown image  at line 1 of file .../times-etimeseu-elec+heat-single_stage-29-64.mps
Coin0008I  read with -2 errors
There were -2 errors on input
randomCbcSeed was changed from -1 to 1
** Current model not valid
** Current model not valid
No match for .../times-etimeseu-elec+heat-single_stage-29-64-cbc-test.sol - ? for list of commands
Total time (CPU seconds):       0.00   (Wallclock seconds):       0.00

This was noticed on CBC versions 2.10.12 and 2.10.11.

List of .mps models causing the problem:
https://storage.googleapis.com/solver-benchmarks/times-etimeseu-elec%2Bheat-single_stage-29-64.mps
https://storage.googleapis.com/solver-benchmarks/times-etimeseu-elec%2Bheat-multi_stage-1-64.mps
https://storage.googleapis.com/solver-benchmarks/times-etimeseu-elec%2Bheat-multi_stage-29-64.mps
https://storage.googleapis.com/solver-benchmarks/tui.mps
https://storage.googleapis.com/solver-benchmarks/times-nom-ts1-p39-counties.mps
https://storage.googleapis.com/solver-benchmarks/times-nom-ts1-p39.mps

The command used to read the models is:
cbc [filename].mps

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