Decision Optimization

Decision Optimization

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


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

Does ILog support multithreading app using .NET API

  • 1.  Does ILog support multithreading app using .NET API

    Posted 09/25/09 03:18 AM

    Originally posted by: SystemAdmin


    [srdemart said:]

    We have a .NET app that is attempting to run separate solvers on different threads to achieve time improvements of parallel processing. 

    Sometimes the run finishes with no errors, sometimes it blows up with various errors when I call OplModel.Generate(), e.g. "Processing failed", "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

    When I run the dat file manually in OPL Studio, it runs with no errors.
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 2.  Re: Does ILog support multithreading app using .NET API

    Posted 09/30/09 02:54 PM

    Originally posted by: SystemAdmin


    [jfk said:]

    Hello there,
    do you use a separate OPLFactory for OPL and CPLEX per thread? you should. Then it should be OK.

    I hope it helps

    cheers
    #DecisionOptimization
    #OPLusingCPOptimizer