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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Solver Outputs and Iterative Display 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!