Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  CPLEX in JEE

    Posted 02/29/16 03:10 AM

    Originally posted by: Kersten14


    We plan to integrate IBM Cplex into our JEE Glassfish 4 application and discussing different design approaches.

    • Integrate Cplex Java and shared libraries into Glassfish application server
    • Running Cplex on a standalone server and do integration of Cplex via remote calls (RestCall, WebService, etc.)

     

    Has anybody experience using Cplex in JEE environments?

     

    Our question and discussions are motivated because we plan to start more than one CPLEX optimization in parallel from the same Java thread. Is this possible with one shared CPLEX library?


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX in JEE

    Posted 02/29/16 03:44 AM

    Running multiple optimizations in parallel should not be a problem as far as the shared library is concerned. That library is reentrant, so either scenario should work.

    Since the major part of the solution process is implemented in C and thus running as native code it might be a good idea to run CPLEX in a separate process.

    You may want to take a look at the CplexServer.java example that illustrates how to pass CPLEX models between server and client.


    #CPLEXOptimizers
    #DecisionOptimization