Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  CPLEX Error 1262: No basis exists.

    Posted 06/04/20 02:22 AM
    Hello, 

    I am trying to solve a least cost energy optimization model using CPLEX. I would like to use the barrier optimizer with no crossover, but when I run the solver I get the following error: CPLEX Error 1262: No basis exists. The CPLEX parameters I am using are:

    name: cplex
    threads: 4
    lpmethod: 4 # barrier
    solutiontype: 2 # non basic solution, ie no crossover
    barrier.convergetol: 1.e-5
    feasopt.tolerance: 1.e-6

    I do not understand why CPLEX needs a basis in this case. How can I avoid getting this error? Thank you in advance!

    ------------------------------
    Kind regards,

    Marissa Moultak
    ------------------------------

    #DecisionOptimization


  • 2.  RE: CPLEX Error 1262: No basis exists.

    Posted 06/04/20 02:29 AM
    This indeed looks odd. But it is unclear where this error comes from. Could you please explain in more detail what exactly you are doing? Are you solving with the interactive or with some programming API? What exactly is the line of code that throws the error? Can you show a backtrace?

    ------------------------------
    Daniel Junglas
    ------------------------------



  • 3.  RE: CPLEX Error 1262: No basis exists.

    Posted 06/10/20 02:34 PM
    Hi Daniel, 

    Thank you for the quick response. My apologies that the explanation of the problem was not more explicit. I am using a Python program and there was a bug in the system that I was luckily able to get fixed. Thank you for your help! 

    Best,

    ------------------------------
    Kind regards,

    Marissa Moultak
    ------------------------------



  • 4.  RE: CPLEX Error 1262: No basis exists.

    Posted 06/18/20 04:51 AM
    Is problem fixed now

    ------------------------------
    nicek raba
    ------------------------------