Decision Optimization

Decision Optimization

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

 View Only
  • 1.  AMPL to IBM

    Posted Tue February 27, 2024 04:34 AM

    Hello, 

    I have a general question....

    I implemented a mathematical model in AMPL, where I used CPLEX as a solver. I tested the model with many complex cases, and I always found a solution (after months of work in improving the model).

    Now I wrote the same matematical model using OPL-CPLEX but I cannot find the same solutions as before (with AMPL-CPLEX) and in some cases I do find a solution but an order of magnitude worse, or even no solution at all...

    Since the solver is the same in both cases, and the underlying mathematical model is the same, I expect to find the same solutions in both cases, or at least similar solutions...

    Is it possible that I am not writing the mathematical model correctly in OPL?

    Any idea?

    Thank you

    Samuele



    ------------------------------
    Samuele Viaro
    ------------------------------


  • 2.  RE: AMPL to IBM

    Posted Tue March 11, 2025 04:44 AM

    Hi,

    you should find equivalent solutions.

    You could extract lp files and check them

    regards



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



  • 3.  RE: AMPL to IBM

    Posted Tue March 11, 2025 01:41 PM

    Thank you Alex!! :)



    ------------------------------
    Samuele Viaro
    ------------------------------