Introduction to Computational Thinking and Data Science
Practice, practice, and practice !
- Optimization models 优化模型
- Statistical models 统计模型
- Simulation models 仿真模型
Lecture 1 优化和背包问题(Knapsack Problem)
- 优化模型的典型特征
- 需要达到最大化或最小化的函数对象
- 一些必须遵循的限制条件
- 有时我们找到的是足够好的解决办法,而不一定是最优解
0/1 Knapsack Problem
Greedy Algorithms
遇到很难的问题,我们可以做什么?
例题:假设希望摄入的热量不超过800卡路里,如何根据食物热量表选择食物?
class Food
4285



被折叠的 条评论
为什么被折叠?



