Originally posted by: SystemAdmin
Hi,
I have following errors and questions to be asked.
First, I have few questions about OPL.
Using OPL, is it possible to extract a complete output?
Does OPL support graphical output like plotting charts by extracting information from the output?
How to save the OPL model to LP format in the same code?
I would like to put a question on comparison between OPL and MATLAB here....From all my previous questions which one do you suggest me the best and easy option to formulate my model?
I also noticed the difference between CPLEX C++ concert and MATLAB....because using C++ I could able to read my LP model and display a complete output list for my model. But in MATLAB if I read in a LP model file, then I could get a output just the objective value being written to a file since writeSolutions method doesn't support in MATLAB.
I am confused please kindly suggest me here....
Now I have few errors to sort out....
float LinkPowerLinks = (CapacityLinks<1000) ? 60 : (CapacityLinks<2000) ? 100 : (CapacityLinks<4000) ? 140 : (CapacityLinks<10000) ? 174 : 0 ; The above line throws the error as "Cannot use type range for int" in my OPL model
next error here below,
*f
s, d, l == sum (i in MaxPath) (Paths
i, s, d, l * Demand
s, d * a
i, s, d);*
the above line throws an error as "Not an array type" in my OPL model
I kindly request you to help me as soon as possible since I am struck and need an urgency to finish my task.
Thanks a lot!!!
#DecisionOptimization#OPLusingCPLEXOptimizer