coin-or / coin-or/python-mip

How to resume the MIP solver with a specified solution and not cold restart?

Open
#84 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Linear Programming
Stars
600
Forks
108
PR merge metrics
No merged PRs in 30d

Description

I have a fixed one time compute time of 10 mins.

In the first run, I find a solution but it is not optimal. I save the model using `m.write('mymodel.lp')`, I have tried with `m.write('mymodel.mps')` also.

When I reload this model via `m.read('mymodel.lp')` or `m.read('mymodel.mps.mps.gz')`, it seems to overwrite the objective value and starts optimizing from start. This is pointless as I want to start from a given solution. I was unable to find any documentation for this.

Everytime I call `m.optimize()`, it starts from starting, rather than resuming. Can anyone help with resuming the solver rather than restarting it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.