Solve MILP by reading LP files

asked 2018-12-30 13:23:59 -0500

pp gravatar image

updated 2018-12-30 13:31:35 -0500

Sage has a wide range of solvers available to solve MILP problems. However, all these functionalities require that the problem is to be implemented following Sage's API.

In contrast, Gurobi allows to solve MILP problems, directly reading from an LP file. This comes in handy, as there's no need to follow Sage API. If the LP file is too large to handle, then the user can simply write another program that will create this file. Apart from being simple and scalable, LP formats can be used for porting to other (unsupported) library.

It seems that, Sage does not yet support directly reading LP files. It will be helpful if someone can comment specifically if such functionality is available or will be implemented in near future/a ticket can be initiated.

edit retag flag offensive close merge delete


Hopefully, someone will look into that (and write a module for it).

pp gravatar imagepp ( 2019-01-09 13:39:14 -0500 )edit