Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Declare variables - seeking help

  • 1.  Declare variables - seeking help

    Posted 01/18/16 08:44 PM

    Originally posted by: NguyenHuuTri


    Hi,

    I have a model with two parameters: course and lecturer as illustrated in the attachment.

    Each lecturer only teach one course, so I wonder if we can have any other ways which is better than the following:

    C=1...5;

    L=1..5;

    The fact that one lecturer can not teach 5 courses, so it will take zero variables.

    Very much appreciate your guidance.

    Thanks & regards,


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Declare variables - seeking help

    Posted 01/19/16 04:52 PM

    Hi,

    why don t you simply write the tuples <Course,Lecture> in your xls ?

     

    Course Lecture
    1 1
    2 2
    3 3
    4 4
    5

    5                                 


    #CPLEXOptimizers
    #DecisionOptimization