Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Lagrangian Relaxation

  • 1.  Lagrangian Relaxation

    Posted Tue December 03, 2024 09:44 AM

    I am working in Lagrangian Relaxation I am getting issue that sum 1  and sum 2 are not updating I am unable to solve the issue.
    My main script code, Lower Bound, Upper Bound and Relax codes I have attached.




    ------------------------------
    Nitish Raj Kumar Sathya
    ------------------------------

    Attachment(s)

    mod
    LB LR.mod   1 KB 1 version
    mod
    Main.mod   6 KB 1 version
    dat
    Y.dat   296 B 1 version
    mod
    Relax_1.mod   1 KB 1 version
    dat
    mult.dat   591 B 1 version
    mod
    LR UpperBound.mod   1 KB 1 version


  • 2.  RE: Lagrangian Relaxation

    Posted Wed December 04, 2024 03:54 AM

    Hi

    the .dat where

    int p[Jobs] = ...;      // Processing time of each job
    int s[Jobs] = ...;      // Size of each job
    int S = ...;            // Machine capacity
    int D = ...;            // Maximum number of jobs per batch

    are defined is missing



    ------------------------------
    [Alex] [Fleischer]
    [Data and AI Technical Sales]
    [IBM]
    ------------------------------