Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to change constraints in a script?

    Posted 04/21/09 05:24 PM

    Originally posted by: SystemAdmin


    [alexei said:]

    Hello.
    One of the constraints in my model is
    lambda<=lambda_-1;<br />I need to solve the model a lot of times in a while loop. Each time lambda_ should be decreased by 1.
    How can I do it?
    Thank you in advance.
    #ConstraintProgramming-General
    #DecisionOptimization


  • 2.  Re: How to change constraints in a script?

    Posted 04/21/09 07:09 PM

    Originally posted by: SystemAdmin


    [Didier Vidal said:]

    If you use OPL, you can change the data fro script. See example in the OPL documentation, section
    ILOG OPL Development Studio  > Language > Language User’s Manual > ILOG Script for OPL

    You have several examples of flow control.

    Didier.
    #ConstraintProgramming-General
    #DecisionOptimization


  • 3.  Re: How to change constraints in a script?

    Posted 04/21/09 10:57 PM

    Originally posted by: SystemAdmin


    [alexei said:]

    Thank you. I managed to do what I wanted.
    #ConstraintProgramming-General
    #DecisionOptimization


  • 4.  Re: How to change constraints in a script?

    Posted 09/30/09 01:26 PM

    Originally posted by: SystemAdmin


    [razibur said:]

    The script constraint allows a person to write a new constraint, all in Python. A Pyconstraint can have multiple targets (however many the script requires), and even their own options.



    [edit] Options

    Script
        Sets the Pyconstraint to use.
    Target
        Allows you to select what objects the script will target.
    Options
        Change some of the constraint's settings.
    Refresh
        Forces the scripted constraint to refresh it's settings.
    C Space
        The space (Global, Local) which the target is used.

    [edit] Example


    Manual





    [URL=http://kerjakeras.com/mengembalikan-jati-diri-bangsa/]Mengembalikan Jati Diri Bangsa[/URL]|
    [URL=http://kerjakeras.com/kenali-dan-kunjungi-objek-wisata-di-pandeglang/]Kenali Dan Kunjungi Objek Wisata Di Pandeglang[/URL]

    #ConstraintProgramming-General
    #DecisionOptimization