Originally posted by: Afshin67
Dear SystemAdmin,
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.
The first question is how I can do the job?
Also, as I imported my file and the related data on the server, I saw that I cannot use them on the cplex and it does not read mod file. Using above instruction I tried to change the file type, but I received the following error:
{
Bad extension passed to IloCP::exportModel
}
Also, as my search, I found the following script:
main
{ thisOplModel.generate(); cplex.exportModel(
"f.lp"); cplex.exportModel(
"f.mps");
}
By adding the script, I received the following error:
{
Execution of "main" failed: "C:\Users\Dell\AppData\Roaming\IBM\ILOG\CPLEX_Studio126\workspace\sched_flowshop\sched_flowshop.mod", line 49: unknown variable 'cplex'.
}
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
#DecisionOptimization#OPLusingCPLEXOptimizer