Skip to main content

All Questions

Tagged with
-1 votes
2 answers
488 views

Java lang NoSuchMethodError : SwigDirector for cplex

For my first attemp to use CP Optimizer with java, when i run my program i get this error message : Exception in thread "main" java.lang.NoSuchMethodError: ...
xfelt's user avatar
  • 1
1 vote
1 answer
198 views

How to save opl.postProcess(); output to an 2D array in Java

I'm using CP Optimizer from ILOG CPLEX Studio to run an optimization problem. Specifically, I'm running an OPL code in Java using Eclipse IDE. My code is working and I'm getting for an instance the ...
Fco.Jav.Y's user avatar
0 votes
1 answer
125 views

How to adapt and OPL code to Java API using Eclipse IDE

I am trying to adapt an OPL formulation using the Java API in Eclipse IDE. Extraction of the original OPL code is the following: using CP; int nbJobs = ...; int nbMchs ...
Fco.Jav.Y's user avatar
0 votes
1 answer
262 views

How to model capacity constraints with pick-up and delivery operations with CP Optimizer?

I am modeling a scheduling problem with capacity constraints. The task is to schedule a set of operations that have to be carried out by a specific machinez. More especifically, I have a set of ...
David Sacramento's user avatar