Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  IloMinimize

    Posted 05/08/11 10:08 AM

    Originally posted by: banun


    Hi,

    it seems that I get "segmentation fault" in the following line :

    model.add(IloMinimize(env,objective));
    


    What can cause this ?
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: IloMinimize

    Posted 05/08/11 11:04 AM

    Originally posted by: SystemAdmin


    First thing I would check would be that model, objective and all things belong to model and objective come from the same environment (which must be env). I can't recall what happens when you try to mix IloEnvironments in the C++ API (Java mercifully spares me this), but I'm pretty sure it's bad, and might possibly cause premature heat death of the universe (or create politicians, or something equally disastrous).

    Second thing I would do would be to look for null/uninitialized/invalid pointers, since C++ thrives on those things.

    Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization