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 CenterFile Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by