Mixed Integer Linear Programming with Matrices

2 ビュー (過去 30 日間)
CK
CK 2019 年 7 月 23 日
回答済み: Dheeraj Singh 2019 年 7 月 29 日
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.

回答 (1 件)

Dheeraj Singh
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.
See an Example for more implementational detail.
To know more about how to model your MILP-optimization problem please refer to the following link:

カテゴリ

Help Center および File ExchangeOperating on Diagonal Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by