Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Question based on TSP

    Posted 06/11/12 09:40 PM

    Originally posted by: WangZhengxu


    Hi, all

    I have a question based on the model of TSP which described in the OPL model library named Traveling Salesman Problem.

    If I add two dummy cities for the salesman, namely start and end, to represent the initial and final status of the salesman.

    How I can achieve this using OPL?
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 2.  Re: Question based on TSP

    Posted 06/13/12 11:38 AM

    Originally posted by: ol


    Hello,
    if you want to start from a city called start, and to end in a city called end, a simple way is simply adding a constraint x<end,start>==1 to force the end to be connected to the start.
    Regards,
    ol
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 3.  Re: Question based on TSP

    Posted 06/16/12 01:34 AM

    Originally posted by: WangZhengxu


    Thanks a lot. I think I know how to code this problem
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 4.  Re: Question based on TSP

    Posted 05/11/13 03:39 PM

    Originally posted by: RithulKrishnan


    Hi WangZhengxu,

    I'm learning cplex and need to code the traditional integer programming formulation for the traveling salesman problem. I am struggling with the code using Cplex for MATLAB, I keep getting errors and do not know how to correct them, can you please help me with the code?

     

    Thank You,

    Regards,

    Rithul


    #DecisionOptimization
    #OPLusingCPOptimizer