Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  setOut question

    Posted 05/03/14 12:15 PM

    Originally posted by: Lessi


    I want to print again the results to the screen after setting cplex.setOut(env.getNullStream());  (C++) ;

     

    but I do not know how to do it

    Thanks for your help


    #DecisionOptimization
    #MathematicalProgramming-General


  • 2.  Re: setOut question

    Posted 05/03/14 04:19 PM

     

    Call cplex.setOut() again, passing it a pointer to the stream in which it should print (most likely stdout, but your choice).


    #DecisionOptimization
    #MathematicalProgramming-General


  • 3.  Re: setOut question

    Posted 05/03/14 05:14 PM

    Originally posted by: Lessi


    Thanks,  I found the solution. 

     

    cplex.setOut(env.out());

     

     


    #DecisionOptimization
    #MathematicalProgramming-General