A newbie to the the whole CPLEX ILOG Concert API user here who is trying to figure out how to implement this into a C# code. I have tried to instanti ...
A newbie to the the whole CPLEX ILOG Concert API user here who is trying to figure out how to implement this into a C# code. I have tried to instanti ...
I am brand new to constraint programming and am trying to model my first problem as a constraint program using the ILOG CP Optimizer. I've installed I ...
I'm trying to run the scalablewarehouse example from IBM, with the CP algorithm, but when I add the using CP; to the mod file, I get an error on this ...
I am using CPLEX concert technology in C++. As you can see in the code, when I want to employ "while" with the expression "LP-LB <=0", I face with ...
right now I am trying to implement a particle swarm optimization algorithm in CPLEX to solve a Vehicle Routing Problem with a large number of customer ...
Currently I am trying to model the Dantzig Fulkerson Johnson Subtour elimination constraints in CPLEX. I want to generate all the possible subsets of ...
In IBM ILOG CPLEX model I use "MyCplex.getCplexTime()" for measuring the time but it gives output as "time:2338551.031". I couldn`t figure out the uni ...
The error message is for the last Util line: Operator not available for dvar float+ * float[][range]. I have checked other posts on this topic and t ...
I want to have a constraint that has an upper and lower bound which is using the format lb<= expr <= ub The constriant I want to translate is: ...
I am trying to write a code of CPLEX OPL on an example of (from control systems) a typical MPC (Model Predictive Control) problem. As described, here: ...
I have written this code to find the sum definition for include is as follows: error I am getting is: How to rectify this? ...
How can the optimality gap (relative and absolute) be obtained using CPLEX C++ API? Is there any function such as that would give the optimality gap? ...
I have to define a decision variable a[kij] which must be binary in nature indices i = {0,1,2,3...9} j={0,1,2,3...9} k= {0,1,2} N_CARTONS=10 N_C= ...
I have written this code to generate a Set Y, with single element The output of above code and variable values are Variable Values How can I ge ...
Let Set B={4,2,8,6,5}; how to write below sets in CPLEX Set E={p| for all b∈B , p=random integer in range(0,b)} Set F= {Set of all E} (need multipl ...
I am using the IBM ilog cplex optimizer to solve a large integer programming problem. I have to depend on MATLAB for generating the data set and I cou ...
I have an array of decision variables that represent an amount of product. I want that each of them could be 0 (if it is not selected) or in some inte ...
I am trying to include proportionality in my solution. The .dat is as follows: My .mod is currently built as follows: My question is how to incl ...
I am trying to solve 9 planting decisions for 3 crops on each of 3 farms. I am given data for Available land on each farm, Available water on each fa ...