Decision Optimization

Decision Optimization

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

 View Only

Use of setStart over SetVectors in 12.5

  • 1.  Use of setStart over SetVectors in 12.5

    Posted Mon August 12, 2013 12:13 PM

    Originally posted by: Frank_M_M


    Hi,

    I currently have a .NET project that creats OPL models to solve with CPLEX.  I am trying to update from 12.3 to 12.5.1, but have run into an issue.  I have created some vectors using OPLCplexVectors to seed my problem. Now, I wish to give these vectors to the model.  I used SetVectors in version 12.3 and I see now that it has been depreciated.  So, I tried using setStart which looks to be the new way to seed the model with the vectors.  But, the SetVectors function has input of type ILOG.CPLEX.Cplex and the function setStart has input of type IloCplex.  I looked at the C++ and Java functions setStart and noticed that the input data types did not change. I guess I have two questions?  Why did the data type change for just .NET and can I get setStart to work with the old data type?

    Thanks!

    Frank


    #DecisionOptimization
    #OPLusingCPLEXOptimizer