Decision Optimization

Decision Optimization

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

 View Only
  • 1.  C# CPLEX entegration

    Posted Wed August 26, 2015 05:09 AM

    Originally posted by: dramaticlook


    Hi,

    I am looking for a way to invoke an existing CPLEX .mod file by passing the necessary parameters from my C# code and getting the result as a variable to use inside a C# code. My researches provide some existing CPLEX libraries (.NET, Java or MatLAB) to use such that you can implement the CPLEX code as a c# or Java code once you include these libraries in the project (Seen some Java tutorials but I have no idea how to use the CPLEX libraries). However I couldn't find a way to run an external CPLEX function. Need your help and thanks in advance.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: C# CPLEX entegration

    Posted Wed August 26, 2015 05:34 AM

    Hi

    have you looked at examples in

    CPLEX_Studio\opl\examples\opl_interfaces\dotnet\x64_windows_vs2013\CSharp

    and in particular

    CPLEX_Studio\opl\examples\opl_interfaces\dotnet\x64_windows_vs2013\CSharp\CustomDataSource

    ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer