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 个)

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

1 个评论

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?

请先登录,再进行评论。

类别

Community Treasure Hunt

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

Start Hunting!

Translated by