Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty constraint matrix kills Cbc #8

Closed
IainNZ opened this issue Nov 12, 2013 · 4 comments
Closed

Empty constraint matrix kills Cbc #8

IainNZ opened this issue Nov 12, 2013 · 4 comments

Comments

@IainNZ
Copy link
Contributor

IainNZ commented Nov 12, 2013

using JuMP
m = Model()
@defVar(m, x, Bin)
@setObjective(m, Max, 1x)
solve(m)
ERROR: Internal error in CoinLoadMatrix
 in LoadMatrix at /home/idunning/.julia/Cbc/src/CoinMPInterface.jl:60
 in loadproblem! at /home/idunning/.julia/Cbc/src/CbcSolverInterface.jl:57
 in solveMIP at /home/idunning/.julia/JuMP/src/solvers.jl:218
 in solve at /home/idunning/.julia/JuMP/src/solvers.jl:18
@IainNZ
Copy link
Contributor Author

IainNZ commented Nov 12, 2013

@mlubin it doesn't kill Clp though

@mlubin
Copy link
Member

mlubin commented Nov 12, 2013

Looks like a CoinMP issue.

@IainNZ
Copy link
Contributor Author

IainNZ commented Nov 12, 2013

Hack around it by making an empty constraint?

@mlubin mlubin closed this as completed in a5cd0c5 Nov 12, 2013
@mlubin
Copy link
Member

mlubin commented Nov 12, 2013

Had to patch CoinMP, so you'll need to rebuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants