Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  use c#.net to implement a schedule problem

    Posted 09/12/12 10:26 PM

    Originally posted by: PJ3C_gao_lianxing


    I use c#.net to implement a schedule problem.
    I don't know how to express Semantics in c#.net

    INumVar[] endTime[r] = cplex.NumVar(0.0, System.Double.MaxValue);

    how to write the objective function:minimize the max 'endTime' in all endTime[r](r=0...R)?

    Thank you for replying.
    #DecisionOptimization
    #MathematicalProgramming-General


  • 2.  Re: use c#.net to implement a schedule problem

    Posted 09/19/12 03:17 AM

    Originally posted by: SystemAdmin


    You can achieve that by the following:
    1. create a new variable y,
    2. add constraints that force y to be larger than or equal to all the endTime variables,
    3. call cplex.addMinimize(y) to create the object function.
    #DecisionOptimization
    #MathematicalProgramming-General


  • 3.  Re: use c#.net to implement a schedule problem

    Posted 09/19/12 05:47 AM

    Originally posted by: SystemAdmin


    What you want to do is a classical application for constraint programming, so you should try CP Optimizer to solve it. Namely, you want to minimize the makespan of a scheduling problem.

    I do not have a CPLEX Optimization Studio installation in front of me, but I am pretty sure that there should be a makespan minimization OPL example in the distribution. You need to search the CP examples.
    Tobias
    #DecisionOptimization
    #MathematicalProgramming-General