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

3 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Linear Programming and Mixed-Integer Linear Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by