Originally posted by: SystemAdmin
I am using window 7 home premium , I tried my model running with cplex.jar and oplall.jar both.
I am using JAVA perspective of ODME 3.6.
I am not able to use int var and piece wise linear function it give the same error
Route_cost = subcplex.piecewiseLinear(sum6, points, slopes, RCC.Get_St_X_Cord(), RCC.Get_St_Y_Cord());
Exception in thread "main" java.lang.UnsatisfiedLinkError: ilog/concert/cppimpl/concert_wrapJNI.new_IloNumArray__SWIG_1(JJ)J
at ilog.concert.cppimpl.IloNumArray.<init>(IloNumArray.java:68)
at ilog.concert.cppimpl.IloConcertUtils.ToCppIloNumArray(IloConcertUtils.java:425)
at ilog.cplex.IloCplex.piecewiseLinear(IloCplex.java:656)
at ilog.cplex.IloCplex.piecewiseLinear(IloCplex.java:646)
at SubProb.Cons12367(SubProb.java:126)
at SubProb.sup_solve(SubProb.java:254)
at Orpssrmp.main(Orpssrmp.java:10)
I have set my enviroment varaibles also to
C:\Program Files (x86)\IBM\ILOG\CPLEX_Studio124\opl\bin\x64_win64
I dont know why I am facing this problem, if you can help me that would be great.
Thanks
Arun Lila
#CPLEXOptimizers#DecisionOptimization