Decision Optimization

Expand all | Collapse all

IRP subtour constraints in OPL

  • 1.  IRP subtour constraints in OPL

    Posted 7 days ago
    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
    ------------------------------

    Attachment(s)

    mod
    IRP - Bastiaan.mod   1 KB 1 version
    dat
    IRP - Bastiaan.dat   1 KB 1 version


  • 2.  RE: IRP subtour constraints in OPL

    Posted 6 days ago
    Hi,

    in the example

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

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