Clear Filters
Clear Filters

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

3 views (last 30 days)
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)

Alan Weiss
Alan Weiss on 11 Jun 2018
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

Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!