optimization with integer constraints

2 次查看(过去 30 天)
K.A.
K.A. 2018-5-15
回答: Torsten 2018-5-16
Hey Matlab Experts,
I am trying to use convex optimization but some of the constraint variables are integers. The constraint variable has to be any integer belonging to the following set {-16,-15,......, 0,1,2,....,15,16}
How to code above constraint variable using this function "quadprog"??
Thanks

回答(1 个)

Torsten
Torsten 2018-5-16
https://de.mathworks.com/help/optim/examples/mixed-integer-quadratic-programming-portfolio-optimization.html
Best wishes
Torsten.

类别

Help CenterFile Exchange 中查找有关 Nonlinear Optimization 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by