Since I am limited to only using an open source programs in my project
I guess COIN would be the best solver then. However according to the
test, it seems that coinmp.dll is available yet COIN_CMD is not. Do I
need to have both to be available in this case to handle a MIP? And
also, how would you then implement a gap or time limit in coin?
I know some of these seem trivial and I apologize (I'm still pretty
novice at these kinds of stuff).
>>> pulp.pulpTestAll()
Solver pulp.solvers.CPLEX_DLL unavailable.
Solver pulp.solvers.CPLEX_CMD unavailable.
Solver pulp.solvers.COIN_CMD unavailable.
Testing continuous LP solution
Testing maximize continuous LP solution
Testing unbounded continuous LP solution
Error in CoinMP it reports Optimal
Testing MIP solution
Testing MIP relaxation
Testing feasibility problem (no objective)
Testing an infeasible problem
Testing an integer infeasible problem
Error in CoinMP to be fixed, reports Optimal
Testing column based modelling
Testing column based modelling with empty constraints
Testing dual variables and slacks reporting
Testing resolve of problem
Testing Sequential Solves
Testing fractional constraints
Testing elastic constraints (no change)
Testing elastic constraints (freebound)
Testing elastic constraints (penalty unchanged)
Testing elastic constraints (penalty unbounded)
* Solver pulp.solvers.COINMP_DLL passed.
Solver pulp.solvers.GLPK_CMD unavailable.
Solver pulp.solvers.XPRESS unavailable.
Solver pulp.solvers.GUROBI unavailable.
On Apr 8, 5:28 pm, Stuart Mitchell <s.mitch...@auckland.ac.nz> wrote:
> recommending that you use cbc or coinMP fromwww.coin-or.org, which in
> In any case, below is the results of the pulpTestAll.
>
> Since I am limited to only using an open source programs in my project
> I guess COIN would be the best solver then. However according to the
> test, it seems that coinmp.dll is available yet COIN_CMD is not. Do I
> need to have both to be available in this case to handle a MIP? And
> also, how would you then implement a gap or time limit in coin?
Yes I need to update the documentation for these options and probably
standardise them for each solver.
But I have just added the following documentation for the COINMP_DLL
solver
"""
The COIN_MP LP MIP solver (via a DLL or linux so)
:param timeLimit: The number of seconds before forcing the solver to
exit
:param epgap: The fractional mip tolerance
"""
use
>>> prob.solve(COINMP_DLL(timeLimit = 500, epgap = 0.10)
for a 500sec timelimit and a epgap of 10%
Vinaka
Stu