Questions tagged [ilog]

Recently purchased and rebranded by IBM as Websphere JRules, ILog JRules is the former name of a suite of tools used to create and run rule-based applications.

Recently purchased and rebranded by IBM as Websphere JRules, ILog JRules is the former name of a suite of tools used to create and run rule-based applications.ILOG is available for both java and .net platforms.Rules can be authored in Rule Studio ( powered by eclipse ). ILOG can be downloaded as a 90 days trial version which consists of the rule studio , a rule team server and a rule execution server. ILOG makes use well know rule execution algorithms like RetePlus algorithm.The rules can also be edited in MS Office Word,which further makes the life life is business users easy,thus minimizing the IT intervention.

195 questions
0
votes
1 answer

Operator not available for dvar float+ * float[][range]

int NbPeriods = ...; range Periods = 1..NbPeriods; int NbParts = ...; range Parts = 1..NbParts; int NbSuppliers = ...; range Suppliers = 1..NbSuppliers; int NbProcesses = ...; range Processes = 1..NbProcesses; int NbPS[1..NbParts,…
JMT
  • 63
  • 3
  • 7
0
votes
0 answers

No valid license found for ILOG JViews Diagrammer 6.5

Recently we moved our Business-Application from weblogic to wildFly server after we are unable to view the rule-Flow(flowChart) and getting the error when we try to view No valid license found for ILOG JViews Diagrammer 6.5 Reason: Application 'ILOG…
0
votes
1 answer

Iterating of elements in array

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: With optimization variables: With following parameters: I have tried to write it but I am…
Luqman Saleem
  • 191
  • 10
0
votes
1 answer

How to find the sum of this array in CPLEX (concert C++)?

I have written this code to find the sum int sum=0; for (i = 0u; i < n[k]; i++) { sum = sum + include[k][i]; } definition for include is as follows: IloArray include(env, N_CONSIGNMENTS); for (k = 0; k…
Prarup
  • 7
  • 3
0
votes
1 answer

How to get optimality gap using CPLEX C++ API?

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? IBM: accessing the MIP relative optimality gap Found the above information but not able to use it.
Prarup
  • 7
  • 3
0
votes
1 answer

How to define a 3D decision variable in C++ (using CPLEX concert technology)?

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=3 have written this much code so far // Define a IloArray a(env, N_C); for (k = 0; k <…
Prarup
  • 7
  • 3
0
votes
1 answer

How to convert an array into a set in CPLEX?

Let's say that int A=[1 2 3 4]; How to convert it into a Set? {int} SetA =?
Prarup
  • 7
  • 3
0
votes
1 answer

How to generate Set Y with multiple elements in CPLEX?

I have written this code to generate a Set Y, with single element int m=3 ; range I= 1..m; int w[i in I]=i; int q= min(i in I)w[i] ; int W=1000; int Ea[I]; {int} B={381,198,291}; {int} E ={rand(f) | f in B: f>0}; execute { writeln("E…
Prarup
  • 7
  • 3
0
votes
1 answer

How to write this set in CPLEX

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 multiple sets of E using varying random integers p)
Prarup
  • 7
  • 3
0
votes
1 answer

How do I specify the interval for every decision variable? CPLEX

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 interval ([0.2;0.8]). forall is not working. {string} Produkti = ...; {string} Vielas = ...; float…
Klims
  • 25
  • 3
0
votes
1 answer

CPLEX ILOG - 3 Crops across 3 Farms

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 farm, Maximum Quota for each crop, Water Consumption for each crop, and Profit for each crop. I am…
volleypot
  • 11
  • 1
0
votes
2 answers

Difference between OPL Interfaces and Concert Technology in IBM ILOG CMPLEX Optimization Studio

I am new to IBM's CMPLEX Optimization Studio and I try to understand what is the best approach to take for realizing my goal. I am trying to implement a decision optimization solution, expressed as a Mix Integer Linear Program by creating a relevant…
kfertakis
  • 127
  • 1
  • 5
0
votes
1 answer

VRPTW with restrictions on types of wagons in IBM ILOG CPLEX

Hello and thank you for your time! (English is not my first language, so I hope for your understanding) I have a problem with modeling the following VRP in IBM ILOG CPLEX: There is a finite park of wagons (about 1300 units) and a certain number of…
eightlay
  • 423
  • 2
  • 9
0
votes
1 answer

How can I use cumulfunction as dependent of the time scale in objective function? Or, any alternative solution?

I created a resource-constraint multi-project scheduling problem formulation by using ILOG CP Optimizer. In this problem, each resource can work on several tasks at certain period depending on their skill, capability and capacity. I used…
0
votes
1 answer

Initialize tuple with set in IBM CPLEX Automation Studio

I have the following variables: tuple subtour { int size; {int} customers; }; {subtour} S; Now I want to create a new subtour with OPL script and add it to S. I know that I can create a new subtour with S.add(), but what…
Tim Dreier
  • 35
  • 4