Bonjour,

Au moment ou j ecris cette ligne,

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
 
IloCplex model = new IloCplex();
 
IloLinearNumExpr constraint = model.linearNumExpr();
 
constraint.addTerm(....);
 
String constraintName = "Constraint";
 
model.addEq(constraint, 0, constraintName);
une Null Pointer Exception est levee.


Et je n ai pas compris pourquoi telle exception, en general, est levee dans un contexte de Cplex ?

Auriez vous svp des idees ?

Merci.