Decision Optimization

Decision Optimization

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

 View Only
  • 1.  erro message!

    Posted Sat June 06, 2009 06:15 PM

    Originally posted by: SystemAdmin


    [carali said:]


    Hello,everyone,
            cplex is used to solve my model.After  using the command of "solve", there is the erro message as follows.What dose it mean?Did you happen to this ?Can you give me some suggestion?Thank you very much!

    The erro message is:

    "Tried aggregator 1 time.
    MIQP Presolve eliminated 24 rows and 16 columns.
    MIQP Presolve modified 57 coefficients.
    Aggregator did 3 substitutions.
    Number of nonzeros in lower triangle of Q = 4
    Using Approximate Minimum Degree ordering
    Total time for automatic ordering = 0.02 sec.
    Summary statistics for factor of Q:
      Rows in Factor            = 8
      Integer space required    = 8
      Total non-zeros in factor = 12
      Total FP ops to factor    = 20
    Presolve time =    0.03 sec."

    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: erro message!

    Posted Sat June 06, 2009 07:54 PM

    Originally posted by: SystemAdmin


    [prubin said:]

    I don't see any error messages, just as status report.  It appears that the presolver ran successfully (or at least thought it did).

    /Paul
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: erro message!

    Posted Sun June 07, 2009 07:25 AM

    Originally posted by: SystemAdmin


    [carali said:]

    Hello everynoe,

            I want to give supsciption of what I had happend. When the code is run to the ' cplex.solve()',it change to the 'cathch(IloException & e)'.Thank you for your suggestion!My code is as follows:

    try
    {
    ...
      IloCplex cplex(env);
      cplex.extract(model);
      cplex.exportModel("test.lp");
      cplex.solve();
    ...


    }
    catch(IloException & e)
    {
      cerr<<"ERROR"<<e.getMessage()<<endl;<br />}
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: erro message!

    Posted Sun June 07, 2009 07:34 AM

    Originally posted by: SystemAdmin


    [carali said:]

    By the way, the exceptin is stopped at 'IloBool solve() {return IloAlgorithm::solve();}' in ilocplex.h.
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: erro message!

    Posted Mon June 08, 2009 07:40 PM

    Originally posted by: SystemAdmin


    [prubin said:]

    What was the exception?
    #CPLEXOptimizers
    #DecisionOptimization