- 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.
How to use Mixed integer programming to solve the optimization problem of service composition.
1 次查看(过去 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:
<<
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191164/image.png)
>>
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191165/image.png)
>>
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191166/image.png)
Sincerely yours, Selma.
0 个评论
回答(1 个)
Alan Weiss
2018-6-11
Depending on your MATLAB version, there are two approaches to MILP.
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
0 个评论
另请参阅
类别
在 Help Center 和 File 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!