IainNZ / JuMPeR.jl

Julia for Mathematical Programming - extension for Robust Optimization
http://iainnz.github.io/JuMPeR.jl
Other
51 stars 23 forks source link

Keyword argument inconsistency #55

Closed joeltay closed 9 years ago

joeltay commented 9 years ago

In the documentation, prefer_cuts can be set to "true". But in the code, it seems to be set to "cuts".

joeltay commented 9 years ago

Just realized that cuts is Boolean, so this isn't the problem.

However, we did get an exception on 1: ERROR: unrecognized keyword argument "prefer_cuts" that was resolved by setting prefer_cuts as "true". Will reopen if I ever find out why.

IainNZ commented 9 years ago

Were you maybe still using solveRobust?

joeltay commented 9 years ago

Nope. Call was: status = solve(m, suppress_warnings=true, prefer_cuts=true) when we got the error.