Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Solve CP through SSH Interactive Optimizer

  • 1.  Solve CP through SSH Interactive Optimizer

    Posted Sat October 25, 2014 10:17 PM

    Originally posted by: Afshin67


    Dear Experts,

     

    I want to run a constraint programming problem that I have created. I want to use the cplex which is installed in the servers of the university. I am connecting to the server using SSH Secure Shell, and by entering "cplex" the following comment are shown:

    Welcome to IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer 12.5.1.0
      with Simplex, Mixed Integer & Barrier Optimizers
    **** ------- -A29 ****-Y48 ****-Y49 5724-Y54 5724-Y55 ****- ***
    Copyright IBM Corp. 1988, 2013.  All Rights Reserved.
     
    Type 'help' for a list of available commands.
    Type 'help' followed by a command name for more
    information on commands.
     

    Also, I have imported my file and the related data on the server. How I can execute my problem on the server? I could not find a proper command to this end. 

    Please guide me solve my problem.

     

    Thanks

    Afshin


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Solve CP through SSH Interactive Optimizer

    Posted Sun October 26, 2014 05:15 PM

    If your problem is a constraint program, you should be running CPOptimizer, not CPLEX. CPLEX is for mathematical programming models, not CP models. I'm not positive, but I don't think there is a command line version of CPOptimizer equivalent to 'cplex'. You either need a compiled program (C++, Java, ...) that links to one of the CPOptimizer libraries, or else you need to run CPLEXStudio and run your model in that.

    There's a separate CPOptimizer forum parallel to this one.


    #CPLEXOptimizers
    #DecisionOptimization