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

CPLEX maximization of revenue

I'm working on a project on cplex and this is the case: it's a chemical plant where's produced and sold 2 final products there are 3 reactors and each reactor can perform different tasks, one at a time the objective function maximizes the total…
0
votes
2 answers

ILOG CPLEX / OPL dynamic Excel sheet referencing

I'm trying to dynamically reference Excel sheets or tables within the .dat for a Mixed Integer Problem in Vehicle Routing that I'm trying to solve in CPLEX (OPL). The setup is a: .mod = model, .dat = data and a MS Excel spreadsheet I have a 2…
anonymthe
  • 27
  • 4
0
votes
1 answer

Generate an ID (non-editable by user) for a new row created in decision table

1. Is there a way to generate an ID in a decision table when a new row is added during Rules authoring. Say a Decision Table has 2 Offers configured.
Offer_Name | Offer_id | Offer_expiration_date | offer_type | offer_group
Offer1 | …
0
votes
1 answer

Input values in one decision table should appear as drop down in another decision table

I have a rules project where I need to setup some offers to be given to customers. Requirement - The Business Users would be provided with a single Table like UI (which is a Decision Table), to configure offers. The offers have various properties…
0
votes
1 answer

Reading 3 dim from excel into ilog

How can I read 1 dim data from excel into 3 dim data in ILOG CPLEX? I can already read 3 dim data from excel into ILOG by using the workaround with a 2 dim array. But how can I read Excel data like 3;4;5;6;7 into 3 dim ILOG format like x = #[ …
0
votes
2 answers

Issues with TimerTask

Hey all, Im working in IBM Websphere ILOG JRules 7.0 using RuleStudio (modified Eclipse) and am having an issue trying to implement a TimerTask. I created a Techincal Rule based off a different rule that I know works and tried to add some code that…
Hershizer33
  • 1,206
  • 2
  • 23
  • 46
0
votes
1 answer

Limitations for JRules decision table

What is the maximum number of rows that are permitted while designing a decision table? Is there any difference with execution speed if a single decision table is split in to multiple ones with same pre conditions?
ASP
  • 86
  • 9
0
votes
3 answers

Indexing array "Assign" with type dexpr int not supported by this algorithm

My question is similar to one already asked, but there was not an answer (at least not one accepted nor suitable). I am attempting to make a constraint, which I've simplified below: dexpr int startingWeekChanges[p in People] = 7 * y + 1; ... for(p…
Dr Ken Reid
  • 577
  • 4
  • 22
0
votes
1 answer

cplex, Is there a way to increase the precision in objective function?

I implemented my mathematical model using Ilog Cplex ver 2.7. the decimal part of the objective function is very small and cplex returns 0 so the cplex abandons part of the objective function (so the objective function is not really optimized). Is…
Hamza
  • 11
  • 2
0
votes
1 answer

Issue when comparing two IloNum values

The following snippet of code: IloNum i = 2*0.6 + 3*0.4 + 0.6 - 0.4 + 1 + 0.6 - 0.4 + 1; IloNum j = 4.8; cout << "i=" << i << ", j=" << j << ", (i>j)=" << (i > j) << endl; has the following output: i=4.8, j=4.8, (i>j)=1 Have I overlooked some…
0
votes
2 answers

How to use 'IloOplOutputFile' in Cplex to write variables with more than one index?

I am trying to write the result data to an external file because of an error I got after running the code for 16 hours. I found the code above, it works for the variables with one index but my variables are not with one index. There are even…
Sena
  • 31
  • 5
0
votes
1 answer

CPLEX how to abort search based on model in java

How to abort the search of particular model when we are running two models in java . Any suggestions on this . Currently when one model is running iam using oplF.end(); Iam using opl.getModelID() to get the ID of the model will this be helpfull…
0
votes
1 answer

IBM CPLEX Ilog Error : "Excel size of range is not the size of the array"

I am connecting to excel for solving a problem. I had used the same .mod file to solve a problem with 27 rows of excel data. Now I am trying with an excel of 366 rows of data. I get an error "Excel size of range is not the size of the array" for…
Ranajit
  • 49
  • 6
0
votes
1 answer

CPLEX Ilog Studio relaxes important constraint - not solving correctly

I am new to using CPLEX studio. I am using a student version and hence not allowed to log the issue with IBM Support. I am using a cplex problem pasted below. The issue is the minedOnlyOnce constraint. This is supposed to mine a block only once, but…
Ranajit
  • 49
  • 6
0
votes
1 answer

Define nested set in OPL

I need to define a set of tuples that are composed of a set of tuples tuple link{ string src; string dest; }; tuple route{ {link} links }; {route} possible_routes; Another way that can represent my problem is a set of set (a set of sets of…
Abdo Salem
  • 55
  • 1
  • 8