linear optimization problem: how to formulate constraints

I need to maximize:
subject to
and
S is exogenously set. x is a N^2 vector of binary variables, l^b is a vector of constants, v is a vector of positive integers, and y is a vector of binary variables. The program should fill 1s and 0s in x, set a single element of y to be 1, and fill in positive integers in v. How can I express those constraints in the linear optimization tool?
Thank you for your time.

回答 (1 件)

Torsten
Torsten 2016 年 6 月 17 日

0 投票

Take a look at the "Related examples" section under
Best wishes
Torsten.

1 件のコメント

Martina Marmai
Martina Marmai 2016 年 6 月 17 日
Thank you for your help, Torsten. I am still unsure about how to implement it though, especially the first constraint. Any suggestions on how to look at the problem?

サインインしてコメントする。

カテゴリ

質問済み:

2016 年 6 月 16 日

コメント済み:

2016 年 6 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by