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

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