how can i consider the limit of the summation as a variable in the linear programing

1 次查看(过去 30 天)
Dear all,
i have a general question, if any of you has a background about
in one of the constraints i have :
summation of (i-1 : 10) beta(i)
where beta is the variable.
can i make that 10 as a variable as well ?
the constraint will be :
sum of (i=1:N) beta(i)
or it is not possible ?
best regards ,
  1 个评论
Walter Roberson
Walter Roberson 2016-4-3
When you say make it a variable, do you mean that it is a value to be determined by the linear programming, or do you mean that you want to know how to build the constraint matrix entry given a particular N ?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Quadratic Programming and Cone Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by