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.

Answers (1)

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

1 Comment

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?

Sign in to comment.

Asked:

on 16 Jun 2016

Commented:

on 17 Jun 2016

Community Treasure Hunt

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

Start Hunting!