Using MATLAB and CPLEX solvers - What should you do?

Sdílet
Vložit
  • čas přidán 6. 09. 2024
  • In this short video, the differences between using MATLAB and CPLEX as solvers are shown in a very small example problem. The take-away message is simple: whenever possible, use CPLEX [by Richard Oberdieck]

Komentáře • 14

  • @hellofarhan4764
    @hellofarhan4764 Před 4 lety +8

    HOW TO CONNECT CPLEX TO MATLAB ??

    • @souravde6116
      @souravde6116 Před rokem

      I have also the same question.

    • @derealfrancismore3318
      @derealfrancismore3318 Před 2 měsíci

      I have downloaded CPLEX and installed in my system, how do I add CPLEX to the MATLAB environment and CPLEX my solver? please help

  • @gio-yj3en
    @gio-yj3en Před 2 lety

    I have a clexmiqp template and I need to optimize a constrained objective function, would there be some way to contact you for help?

  • @amitunde6842
    @amitunde6842 Před 7 lety

    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.mip.tolerances.mipgap = 0;
    options.parameter2058 = 1;
    options.mip.pool.relgap= 0;
    options.parameter2104 = 2;
    [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.
    Do you know how to print out those alternative solutions?

    • @derealfrancismore3318
      @derealfrancismore3318 Před 2 měsíci

      I have downloaded CPLEX and installed in my system, how do I add CPLEX to the MATLAB environment and CPLEX my solver? please help

  • @paragpatil777
    @paragpatil777 Před 3 lety

    hi, can you please tell us , what version of cplex and matlab (seems 2014a) is being used ? Thanks

    • @derealfrancismore3318
      @derealfrancismore3318 Před 2 měsíci

      I have downloaded CPLEX and installed in my system, how do I add CPLEX to the MATLAB environment and CPLEX my solver? please help

  • @siggipeters7005
    @siggipeters7005 Před 5 lety

    Thank you very much for this video. Can you tell me how to change the solver to cplex ?
    I don't have this OptionSet. It would be very nice if you can help me. I want to solve my problem with the function sol = solve(prob). But if I do this, matlab does not solve it with cplex.

    • @derealfrancismore3318
      @derealfrancismore3318 Před 2 měsíci

      I have downloaded CPLEX and installed in my system, how do I add CPLEX to the MATLAB environment and CPLEX my solver? please help

  • @Richard-kx8mo
    @Richard-kx8mo Před 7 lety

    Hi, I have a question about the video. Where is yout model? Do you mind show me the detail? Thank you very much!

    • @poptoolbox4384
      @poptoolbox4384  Před 7 lety

      There is no "model", as it is a randomly generated problem. The point of the video was to show that with the exact same code, using linprog/quadprog and the LP and QP solver from CPLEX does not yield the same result.

  • @souravde6116
    @souravde6116 Před rokem

    How to integrate CPLEX with MATLAB?

    • @derealfrancismore3318
      @derealfrancismore3318 Před 2 měsíci

      I have downloaded CPLEX and installed in my system, how do I add CPLEX to the MATLAB environment and CPLEX my solver? please help