Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Insert the result of inumbervar into database when using Cplex.net

  • 1.  Insert the result of inumbervar into database when using Cplex.net

    Posted 07/10/12 03:12 AM

    Originally posted by: SystemAdmin


    Hi,Everyone!
    After i execute my code when using Cplex.net ,i want to Insert the result of inumbervar into database.is there any methods i could use??

    Can you help me ??it would be better that you can give me some typical exsample!
    thank you!!
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Insert the result of inumbervar into database when using Cplex.net

    Posted 07/12/12 02:27 AM

    Originally posted by: SystemAdmin


    I would say that highly depends on the data base and the data base connector you use (both are completely unrelated to CPLEX).
    You can extract the solution values from the Cplex instance using the GetValue() or GetValues() member functions. The returned values are doubles and can be inserted into a database like any other double precision number.
    #CPLEXOptimizers
    #DecisionOptimization