scipopt / papilo

Parallel Presolve for Integer and Linear Optimization
GNU Lesser General Public License v3.0
64 stars 17 forks source link

PaPILO with GLOP or PDLP #43

Closed stumarcus314 closed 9 months ago

stumarcus314 commented 10 months ago

If PaPILO is built with OR-Tools and the solve command is used to solve an LP (papilo solve -f problem.mps -l problem.sol), does PaPILO write the presolved problem to an MPS file and then call GLOP or PDLP on the presolved MPS file? From the command line, how does one select whether solve uses GLOP vs PDLP?

alexhoen commented 10 months ago

In this case the presolved problem is not stored. It just passes the problem through the API of the solver.

To switch between the solvers one can use the parameter ortools.solver_id = GLOP . PDLP should be the default.

stumarcus314 commented 10 months ago

Is ortools.solver_id = GLOP a PaPILO command line argument?

alexhoen commented 10 months ago

No, part of the parameter.txt file

papilo solve -f problem.mps -l problem.sol -p parameter.txt