Ticket #11371 (closed defect: fixed)
Error in MILP documentation
|Reported by:||kcrisman||Owned by:||mvngu|
|Report Upstream:||N/A||Reviewers:||Karl-Dieter Crisman|
|Authors:||Nathann Cohen||Merged in:||sage-4.7.1.alpha3|
The (English) knapsack documentation in the thematic tutorial for MILP has an "oops" moment.
p.add_constraint(sum(weight[o] * taken[o] for o in L) <= C)
does not have the correct corresponding typeset thing, which instead has the sum of usefulness times taken less than or equal to C.
Perhaps this was introduced in the translation process? Anyway, should be easy to fix.
- Status changed from new to needs_review
- Authors set to Nathann Cohen
- Status changed from needs_review to positive_review
- Reviewers set to Karl-Dieter Crisman