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
1
vote
1 answer

I'm looking for a way to manipulate iloextractable object after having removed from a model and re-add the modified one

I have sonthing like this: IloExtractable extractable(env); ... extractable = model.add( x + y <= 4); ... model.remove(extractable); IloExpr soft_expr(extractable.asConstraint()); IloNumVar v = IloNumVar(env, 0.0, +IloInfinity,ILOFLOAT); soft_expr…
Roberto B
  • 43
  • 7
1
vote
1 answer

Equivalent Drools syntax for setting a variable from an object within a collection in ILOG

In our ILOG rules irl files we have numerous occurrences of setting a variable from a collection and setting another variable from the collection which doesn't equal the first object student1: com.company.bom.Student() in all_students; student2:…
Langfo
  • 430
  • 5
  • 17
1
vote
2 answers

CPLEX: How to get feasible solutions after abortion of optimization?

I have a very long lasting optimization process (>100h) and I cannot wait until the end of that process. Nevertheless, I want to get the so far generated solutions (i.e. exact decision variables) of CPLEX. I am using the CPLEX Optimization Studio…
Impulse101
  • 11
  • 3
1
vote
0 answers

IlvText vs IlvLabel position and text size

I'm trying to create a multi line text on the screen, using ILog JViews. I started with using IlvLabel , which put the text in the position I want (Using the constructor which get a point and a string for the text). I then saw the label does not…
CodeMonkey
  • 11,196
  • 30
  • 112
  • 203
1
vote
0 answers

IBM ILOG ODM 8.5 - How to keep Decision Center Rules Code and Rule Designer Source Code Repository Synchronized

I would like to make sure that the execution of a script, can compare two files and keep the both the repositories synchronized i.e. Source Code Repository and Decision Center Repository. Scenario 1 The two files would be 1) Rule that is checked in…
Ajay
  • 349
  • 1
  • 3
  • 11
1
vote
1 answer

How I can make the restriction?

I'm new to the world cp optimizer and this starting to make small tests. I have the following question and I need your help, please. This is my code: Data const IloInt nbPair = 6; const IloInt nbPairElements = 15; const IloInt nbElement =…
1
vote
2 answers

Using an Arraylist in ILOG/ODM to loop through a set of records

I have a requirement to loop through a set of records and compare the start date in each record with current date and output a message in the Action part of the rule. I am trying to find out if I can use an arraylist in ILOG/ODM rule XOM and use it…
user2980176
  • 21
  • 1
  • 1
  • 5
1
vote
1 answer

Failed to check license ilog.rules.res.xu.IlrLocalizedResourceException: error code: XU.ERROR.10700

I am trying to execute iLog jRules (Version 7.1) from Plain Java program. I am using J2SE session factory. Still I am getting below error. Can someone please enlighten ? Also what is the best and simple way to execute jRules rules from java main…
1
vote
1 answer

Generating random solutions in CPLEX

I have a simple model in IBM ILOG CPLEX. dvar float x in 1..99; dvar float y in 1..99; dvar float z in 1..99; subject to { x + y - z == 41.3; } I need random solutions for x, y and z. However, I always get 41.3, 1, 1. Am I using the wrong…
user1310377
1
vote
2 answers

(ILOG) IBM ODM Is there anyway to use decision table like lookup table or Is it a bad usage?

I implemented some rules like; Check the id. If it is in convenient date, then add related group, for example, aaaa In action rule, check that if item is in related group add message or remove message But I think that it is not…
Cracker
  • 500
  • 7
  • 21
1
vote
0 answers

Ilog gantt, stop deselecting pucks on mouse down

I am trying to find a solution for stopping deselection on mouse down for ilog gantt chart... there is a method in IlvGanttSelectInteractor called mouseDown which is deselecting the pucks.. I want to deselect on mouse up.. Any suggestions would be…
1
vote
1 answer

How to use IloExprArray in code?

I have just started to use cplex library and get stuck in defining IloExprArray in my code. Here is my snippet of code: IloExprArray diff; diff= IloExprArray(iloEnv,list.size()); for( int i=1; i<=10; i++ ) { for( int j=0; j<9; j++ ) { …
Amit Pal
  • 10,604
  • 26
  • 80
  • 160
1
vote
1 answer

How to get only one path beginning and ending at same node?

I'm trying to run this model in Cplex/OPL to find the best path given distances of shops, and quantities + prices in each shop for different products. The problem is I'm getting results of paths that are disjointed - "islands". What constraint do i…
user1123417
  • 163
  • 1
  • 2
  • 10
1
vote
2 answers

Remove whitespaces, from input string type parameter value, using BAL in ILog Jrule

I have a rule which take a String type input parameter. Can I remove the whitespaces from the value this parameter holds using BAL. If not what is the other option to do this. In this JRule there is a decision table where condition column is this…
Manu
  • 453
  • 2
  • 6
  • 15
1
vote
0 answers

Ilog output to XML

I have an output and I convert it to XML but the XML appears with some tags out of place or miss-written. Here's the Ilog output: Y = [[[7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5] [9.6 9.6 9.6 9.6 9.6 9.6…
1 2
3
12 13