Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Is setVecotrs deprecated?

    Posted Mon October 12, 2020 06:41 PM

    A code that was working under ILOG CPLEX 12.2 is not working under a new version 12.9.

    The error is "setVectors is not a member of IloCplex"

    The following site also states that setVecotrs is removed since 12.70. However, all recent manuals (including that for 12.10) mention setVectors can be used to provide starting solution.






    #DecisionOptimization
    #Support
    #SupportMigration


  • 2.  RE: Is setVecotrs deprecated?

    Posted Mon October 12, 2020 06:43 PM

    This is not an answer.

    I am providing the link of the site that states setVecots is removed:

    https://perso.ensta-paris.fr/~diam/ro/online/cplex/cplex1271/CPLEX/ReleaseNotes/topics/releasenotes127/removed.html






    #DecisionOptimization
    #Support
    #SupportMigration


  • 3.  RE: Is setVecotrs deprecated?

    Posted Mon October 12, 2020 08:08 PM

    I got the answer:

    Changes in the C++ API

    Lists changes in the C++ API and advises conversion steps.

    Deprecated

    These methods of the C++ API of CPLEX V12.5 have been deprecated and will be removed in a future

    release:

    • IloCplex::setVectors
    • IloCplex::SolveCallbackI::setVectors

    Use these new or existing methods instead of those deprecated methods to add one or more starting

    solution candidates:

    • IloCplex::setStart
    • IloCplex::addMIPStart
    • IloCplex::SolveCallbackI::setStart

    Parent topic: Release notes for CPLEX Optimizers V12.5






    #DecisionOptimization
    #Support
    #SupportMigration


  • 4.  RE: Is setVecotrs deprecated?

    Posted 9 days ago

    Hi,

    Looks like IloCplex::SetStart is the correct replacement for SetVectors method (you can compare that both have the same parameters - types and names).

    SetVectors:

    SetStart:

    Regards,



    ------------------------------
    Paulo Santos
    ------------------------------