Skip to content
Advertisement

Tag: opl

Benders.Strategy using Java and opl

I’m solving a mathematical model using Java however when i tried to call the Benders Strategy i keep receiving this error: Exception in thread “main” java.lang.IllegalArgumentException: No enum class ilog.cplex.cppimpl.IloCplex$IntParam with value 1501 at ilog.cplex.cppimpl.IloCplex$IntParam.swigToEnum(IloCplex.java:1974) at ilog.opl.IloCplex.setParam(IloCplex.java:5640) Here’s a part of my code in Java (i’m using CPLEX 12.8 and the library oplall.jar) : Answer There’s a similar question here.

Advertisement