Mixed Integer Linear Programming with Matrices
3 次查看(过去 30 天)
显示 更早的评论
Hi,
could someone help me how to formulate a MILP-optimization problm with manny different matrices as inputs and constraints? All I can find is how to solve it with vectors.
0 个评论
回答(1 个)
Dheeraj Singh
2019-7-29
Suppose you have matrix with constraints and inputs specified as rows (or columns).
You can specify the inputs and constraints as row like:
x(rowNo,:);
Similarly, you can do if input and column specified as columns.
To know more about how to model your MILP-optimization problem please refer to the following link:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!