Originally posted by: yvrob
Thank you for your answer.
So my structure is now :
Initialization of matrices/parameters (Aeq,Aineq,beq,f ...)
prob.Aeq=Aeq;
prob.Aineq=Aineq; ...
Then I initiate the model :
cpx=Cplex(prob);
And solve it :
cpx.solve;
If I understood well, I have to add above cpx.solve a line introducing a vmc. The thing is that I am running it on my university cluster and the link that you gave me asks me to give the hosts names, but I cannot know them in advance. So I tried to add this :
cpx.readVMConfig("mpi")
Which should create a vmc file based on the cluster I am working.
However I get this error :
Error using cplexlink1280
Unknown CPLEX function 'copyVMConfig'.
Error in Cplex/copyVMConfig
Error in Cplex/subsref
Even if I add the CPLEX folder (and subfolders) path to Matlab and export the CPLEX library in my bashrc with :
export LD_LIBRARY_PATH="/global/home/users/yvesrobert/CPLEX/cplex/lib
I still get this error.
Do you have an idea on how I can fix this?
Thank you.
#CPLEXOptimizers#DecisionOptimization