Originally posted by: lushengshao
today, i used cplex to solve my model, and wanted to conduct sensitivity analysis about the coefficient of variables in the objective and the RHS.when i wrote my program according to the java reference, the following error information was shown. here is the errors.
Concert exception caught 'ilog.cplex.CpxException: CPLEX Error 1217: No solution exists.
' caught
ilog.cplex.CpxException: CPLEX Error 1217: No solution exists.
at ilog.cplex.CplexI.CALL(CplexI.java:3754)
at ilog.cplex.CplexI._boundsa(CplexI.java:4983)
at ilog.cplex.CplexI.getBoundSA(CplexI.java:2999)
at ilog.cplex.IloCplex.getBoundSA(IloCplex.java:8138)
at ilog.cplex.IloCplex.getBoundSA(IloCplex.java:8086)
at trial.Test_Continuous1.main(Test_Continuous1.java:122)
and part of my program which is java code related to the sensitivity analysis is also listed here.
double[] llbound = new double[T];
double[] lubound = new double[T];
double[] ulbound = new double[T];
double[] uubound = new double[T];
for (int i = 0; i < I; i++){
for(int j = 0; j < J; j++){
cplex.getBoundSA(llbound,lubound,ulbound,uubound,var_SPcaigou[i][j]);
for(int t = 0; t < T; t++){
System.out.println("SA:SPcaigoubound value=" + llbound[t]);
}
}
}
please give me some help. thanks a lot.
#CPLEXOptimizers#DecisionOptimization