How to use Mixed integer programming to solve the optimization problem of service composition.

Hi,
I use Mixed Integer programming to solve the optimization problem of service composition. I wrote the mathematical model, but I'm stuck with Matlab programming. For that, I'll be grateful if you could help me with this. Thank you in advance for your help.
problem modeling:
<<
<<
>>
>>
Sincerely yours, Selma.

Answers (1)

Depending on your MATLAB version, there are two approaches to MILP.
  • Problem-Based, where you express your objective and constraints in terms of symbolic-like problem variables.
  • Solver-Based, where you set up your problem as a function of a single vector variable and write matrices that represent the linear constraints in terms of this one variable.
There are plenty of examples of both types of approaches. Generally, I think that the problem-based approach is more straightforward, but you are free to use whichever one suits your style.
Alan Weiss
MATLAB mathematical toolbox documentation

Categories

Asked:

on 10 Jun 2018

Answered:

on 11 Jun 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!