toolbox question for binary integer programming
2 次查看(过去 30 天)
显示 更早的评论
Respected sir/mam
i have simulated a code including the bintprog command , the allocation vector x is determined by the following optimization problem,
max(x)Uv(x) =for i=1:N(vixi),
s.t. xi + xj 1, i, j if Cij = 1,
xi = 0 or 1, i = 1, 2, . . . ,N,.
pls friends help me to obtain the optimation result for computing x* to b binary values. and also i would give the v=[15 6 10 4];
1 个评论
Walter Roberson
2012-1-31
Sorry, in your "s.t" line, the character between xj and 1 did not come across properly, and the character between the "1," and "i" did not come across properly. Please try again on that line, and perhaps include a word description of the two characters in case the problem happens again.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!