this has been very helpful, still learning the basics of OPL though, the simple model has been very helpful with just three constraints and I appreciate that the sample was kept simple, had to follow on after 13.50
Hola hernán muy buen video, pero solo logré entender el primer ejercicio, no tienes videos en español o algun libro que me puedas recoemndar?, desde ya muchas gracias
hello, i tried the plane (cargos, compartments) example, and i keep getting "Data element has already been set" error, do you have any idea why? i really need some help!
Hello everybody, I am a Cplex bigenner. Please i want to ask how can i define an interval that cover a set of other intervals (the exact number of intervals is unknown) where their size is limited by a MaximumSize.
I run the CPLEX and my optimal results are different with the tutorial. I got xij=((0,0,0), (10,0, 5),(0,16,3), (0,0,0)) instead of the results ((0,0,0), (10,0, 5),(0,12.94,3), (0,3.05,0)) from the tutorial. Does anyone also encounter the strange result? P/S: Im sure that my setting n=4 (for cargos) and m=3 (for compartments) are properly indicated.
please what can i do , i got this message after run the configuration : ( la donnée élémentaire de tableau "demande_navire" de type float avec 3 dimensions n'est pas prise en charge pour les feuilles.)
I am using the CPLEX solver for binary integer linear programming (cplexbilp) in MATLAB and would like to print out the identified alternative solutions in the solution pool. The code looks as follows: options = cplexoptimset('cplex'); options.Display = 'on'; options.solnpoolagap = 0; >> options.solnpoolintensity = 4; >> options.populatelim = 100; [x, fval, exitflag, output] = cplexbilp (f, Aineq, bineq, Aeq, beq, ... [ ], options); Each time only one solution is stored in x, but I know as CPLEX tells me that there are other solutions as well. Does anybody know how to print out those alternative solutions?
it depends on the application you are working on CPLEX is only for solving optimization problems but if there is a need for creating networks on other real-life stuff than definitely C++ or use java with eclipse
Hi Hernan, in example "day1", I have created a new project but I don't see any RunConfiguration on the side bar. Do you know how can I open it? Thanks a lot.
you have to click windows then show view and then opl projects. avoid creating multiple run configurations and before executing drag your mod file to default run configuration u created for the running project
I am new in the CPLEX When i follow the very first steps, first 10 minutes. After I did run the configuration I got this message Run Configuration is invalid ??
muy buen video! lamentablemente estoy usando un mac para desarrollar los ejercicios y no me deja leer los datos desde e excel. ¿es porque no está disponible esa función?
I am using Cplex 12.5, and in the 2nd example i am getting the following message"range syntax not available for scripting" and program is not executing. Can you please help me with this...
i think this won't be useful for you but for the future guys who have this same problem in 12.5 , you have to simply put a space after the number and before the parameter. Example : range cargos= 1 .. n
There are two possible reasons; 1- You don't use Microsoft Office 2- You use Microsoft Office without licance. If one of two things above is true. You can download free MS Office. Unfortunately, you have to be either an academic or a student. Here is the link: www.microsoft.com/en-us/education/students/default.aspx?Search=true
I have the same problem, it is due to we forget to name the region in the excel. To fix it, you open your excel file, select the area to save your output (for instance, a block of cell K2:M5), and change its name to "result". Then save the file and of course close it. Now you can run the cplex and it should write the optimal solution in the excel file.
The first part is nice. What I dont like about this rest. This video is intended for Windows Users only. Mac & Linux users are excluded. Furthermore, some of the information is outdated. For instance, the excel file is no longer available at the given link.
When I try to run I get this connection error message, What could be the possible reasons? Database error (state=IM002 code=0): [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, near "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:\Users\Usernam\opl\Username_Cargo problem\day 1 - access.accdb//".
this has been very helpful, still learning the basics of OPL though, the simple model has been very helpful with just three constraints and I appreciate that the sample was kept simple, had to follow on after 13.50
Me sirvió muchísimo! Muchas gracias por subirlo, excelente curso. Saludos!
Fantastic tutorial of CPLEX studio, thank you!
Thanks for the demo, Mr. Hernan
Thank you, this is amazing!
Thank you so much! this video was so useful to finish our final project and get our degree!
hey babe, I went to the supermarket to pick up some cauliflower. Do you need anything too?
Thank you very much! It was very useful.
Hola hernán muy buen video, pero solo logré entender el primer ejercicio, no tienes videos en español o algun libro que me puedas recoemndar?, desde ya muchas gracias
hello, i tried the plane (cargos, compartments) example, and i keep getting "Data element has already been set" error, do you have any idea why? i really need some help!
Mr. Cacares, can you please share the name of the book that you were using to present this lecture?
The explication is very interesting.
I appreciate it.
Thanks.
Hello, What happens if a parameter depends on both cargos and compartments?
What if i have a "given" solution and i want to test wether it is feasible on the model im creating? can you advise me on how to test it?
where can I get the data ? pls ! The IBM community has been shut down.
that's a good question. I have the same problem. Hopefully someone can help us.
I am not able to find the link? could you please paste it here, instead?
Hello how can I introduce bounds to variables in LP model
I learned a lot from it. Thanks.
Hello! can filter the values that will go to the excel file?
Is this the same software as XPRESS IVE?
Hello everybody, I am a Cplex bigenner. Please i want to ask how can i define an interval that cover a set of other intervals (the exact number of intervals is unknown) where their size is limited by a MaximumSize.
I run the CPLEX and my optimal results are different with the tutorial. I got xij=((0,0,0), (10,0, 5),(0,16,3), (0,0,0)) instead of the results ((0,0,0), (10,0, 5),(0,12.94,3), (0,3.05,0)) from the tutorial. Does anyone also encounter the strange result? P/S: Im sure that my setting n=4 (for cargos) and m=3 (for compartments) are properly indicated.
please what can i do , i got this message after run the configuration : ( la donnée élémentaire de tableau "demande_navire" de type float avec 3 dimensions n'est pas prise en charge pour les feuilles.)
Muchas Gracias, el video está muy bien, pero por favor lo podrías explicar en español. Saludos.
Could you share the link to the excel file please and thanks for your useful video course
Hello Mr. Hernan
I have so issues with program can you help me solve it
I am using the CPLEX solver for binary integer linear programming (cplexbilp) in MATLAB and would like to print out the identified alternative solutions in the solution pool. The code looks as follows:
options = cplexoptimset('cplex');
options.Display = 'on';
options.solnpoolagap = 0;
>> options.solnpoolintensity = 4;
>> options.populatelim = 100;
[x, fval, exitflag, output] = cplexbilp (f, Aineq, bineq, Aeq, beq, ...
[ ], options);
Each time only one solution is stored in x, but I know as CPLEX tells me that there are other solutions as well.
Does anybody know how to print out those alternative solutions?
est ce que c'est la version 12.6 ?
Sir, I got this error
Description Resource Path Location Type
CPLEX(default) cannot extract expression: forall(i in 1..4) sum(j in 1..4) x[i][j]
Hello, what do you recommend, work in ILOG CPLEX Studio or VIsual Studio with C++?
it depends on the application you are working on CPLEX is only for solving optimization problems but if there is a need for creating networks on other real-life stuff than definitely C++ or use java with eclipse
Can someone please upload the cargos excel file
Kindly share the excel sheets, the link shown in the video no longer exists
I am getting the following error while connecting excel sheet
"exception from IBM ILOG concert problem accessing the excel file"
PLZ HELP
This usually happens when you have the excel file opened while running the model. Try closing the excel file.
Hi Hernan, in example "day1", I have created a new project but I don't see any RunConfiguration on the side bar. Do you know how can I open it? Thanks a lot.
you have to click windows then show view and then opl projects. avoid creating multiple run configurations and before executing drag your mod file to default run configuration u created for the running project
Great video! How can you write if then else statements in the constraints?
A ⇒ B is equivalent to ¬A ∨ B
I now realise that implications are supported by OPL, so you won't even need the conversion.
Hello, could you guide me in using the flow of control?
I am new in the CPLEX
When i follow the very first steps, first 10 minutes. After I did run the configuration I got this message
Run Configuration is invalid ??
I have a similar problem. Run configuration "Configuration1" is invalid.
I have the same problem :-/ Do you know the possible reason now?
+Fathalla Eldali Before running the configuration, you have to move the code in config and then run your config.
muy buen video! lamentablemente estoy usando un mac para desarrollar los ejercicios y no me deja leer los datos desde e excel.
¿es porque no está disponible esa función?
Lo solucionaste? Me pasa lo mismo
I am using Cplex 12.5, and in the 2nd example i am getting the following message"range syntax not available for scripting" and program is not executing. Can you please help me with this...
i think this won't be useful for you but for the future guys who have this same problem in 12.5 , you have to simply put a space after the number and before the parameter. Example : range cargos= 1 .. n
I got "Exception from IBM ILOG Concert: Problem accessing the Excel file". Do some one knows what could be?
There are two possible reasons;
1- You don't use Microsoft Office
2- You use Microsoft Office without licance.
If one of two things above is true. You can download free MS Office. Unfortunately, you have to be either an academic or a student. Here is the link: www.microsoft.com/en-us/education/students/default.aspx?Search=true
link for excel sheet is expired
How do you display the autocomplete options?
You can type a short word "Sheet" and press Ctrl + Space bar, that should give you the option.
How can i minimize or maximize two decision expressions in the same time, in the same model?
did you get your answer ?
elena aggelidou you cannot do like that because ilocplex cannot handle multiple objectives at the same time.
how do you open a project? I mean avoid having to copy your code into another project?
click windows then view then opl projects
hello guys, i have a problem after running, its showing "excel range is unknown", anybody know how to solve it.
I have the same problem, it is due to we forget to name the region in the excel. To fix it, you open your excel file, select the area to save your output (for instance, a block of cell K2:M5), and change its name to "result". Then save the file and of course close it. Now you can run the cplex and it should write the optimal solution in the excel file.
www.ibm.com/developerworks/community/groups/community/ubcplex
this is the link for joining the community and getting the files
thank u this link is important
The first part is nice. What I dont like about this rest. This video is intended for Windows Users only. Mac & Linux users are excluded. Furthermore, some of the information is outdated. For instance, the excel file is no longer available at the given link.
Anyone who have successfully done this Seminar can help me with the DBConnection error?
I am also having problems with the DBConnection error...
You should use CPLEX 12.6
creat
When I try to run I get this connection error message, What could be the possible reasons?
Database error (state=IM002 code=0): [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, near "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:\Users\Usernam\opl\Username_Cargo problem\day 1 - access.accdb//".
Your access has to be the same architecture as your OS (office x64, and windows x64). If it so you have to connect DB (use ODBC).
I think 'm also getting error related to DBConnection (ex2 version2). Can you please help us how to connect with DB or to install some specific DB?
DBConnection Error!!!!
Did you solve it!
@@afnaneliyan3780 no. Maybe don’t use Microsoft db use excel or csv
@@barny1174 thanks, will use excel then!