Mixed Integer Linear Programming with Matrices

2 visualizaciones (últimos 30 días)
CK
CK el 23 de Jul. de 2019
Respondida: Dheeraj Singh el 29 de Jul. de 2019
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.

Respuestas (1)

Dheeraj Singh
Dheeraj Singh el 29 de Jul. de 2019
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:

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by