Decision Optimization

 View Only
Expand all | Collapse all

IRP subtour constraints in OPL

  • 1.  IRP subtour constraints in OPL

    Posted Mon May 03, 2021 10:30 AM
    Hi, 

    I'm new to this platform. Can someone tell me how to model subtour elimination constraints for a MILP in OPL CPLEX for a multi-vehicle IRP? 
    See my code attached. There are no errors in the code so far, but I know that the subtour constraints are not correct yet. See below the mathematical model. It would be awesome if someone can tell me how to model constraint 11 and (especially) 12 into the mod file.  



    ------------------------------
    Bastiaan Devilee
    ------------------------------

    #DecisionOptimization


  • 2.  RE: IRP subtour constraints in OPL

    Posted Tue May 04, 2021 05:58 AM
    Hi,

    in the example

    <main role="main"> </main>

    ------------------------------
    [Alex] [Fleischer]
    [EMEA CPLEX Optimization Technical Sales]
    [IBM]
    ------------------------------