All Questions
5 questions
0
votes
0
answers
48
views
How to code a constaint that contains an integral in java &cplex?
I started Java programming 2 months ago. I don't know how to code a constraint in the Java+Cplex library. This constraint contains an integral. Does Java contain an integral library already and I'll ...
0
votes
2
answers
1k
views
binary variable depending on a continuous variable (mixed integer programming in cplex)
I'm trying to formulate a constraint for a MIP problem that involves binary variable v and continuous variable i, such as:
if i = 0, v = 0, and
if i > 0, v = 1
I haven't been able to think of a ...
0
votes
1
answer
96
views
How do I run a simulation experiment (iterative procedure) in CPLEX?
I am a beginner of programming. I'm trying to practice run a simulation with CPLEX.
Since I want to be a person who wants to work in an area in optimization.
Therefore, I am trying to study some ...
1
vote
1
answer
1k
views
CPLEX OPL Error 5002: Constraint not convex
I'm trying to work with cplex opl and facing an error. I read the manual and googled but I still have no idea what I should do to fix this error due to my lacking of knowledge. Can anyone please help ...
0
votes
1
answer
635
views
How to read parentheses or brackets using CPLEX
I am trying to read a .lp file using CPLEX, and it is giving me an error 1615, which is not being able to read "(" or even "[". I am not happy with it because what I have needs to be read must have ...