optimization with integer constraints
조회 수: 14 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Torsten
2018년 5월 16일
https://de.mathworks.com/help/optim/examples/mixed-integer-quadratic-programming-portfolio-optimization.html
Best wishes
Torsten.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!