这个非常简单的程序声明了两个决策变量:约束和目标函数。
This very simple program declares the two decision variables: the constraint and the objective function.
我们可能会纳闷,在有更多决策变量和约束的问题中,我们只能分别逐一声明每个变量和每个约束吗?
You may be wondering, in a problem with many more decision variables and constraints, would you have to declare each variable and each constraint separately?
噢,这个问题是如此简单,问题数据都作为声明中决策变量的系数直接包含在了目标函数和约束声明中。
Well, this problem is so simple that the problem data is directly included in the objective function and constraints declarations as the coefficients of the decision variables in the declarations.
请注意约束和决策变量现在在TOY 后面是如何命名的,这样看起来非常清晰,而且组织良好。
Note how the constraints and the decision variables are now named after the TOY set, which looks clean and organized.
接下来我们了解了如何使用一个简单的MathProg程序来使用集合、参数、约束、决策变量和目标函数来解答这个问题。
Then you saw how to use a simple MathProg program to solve it using sets, parameters, constraints, decision variables, and an objective (target) function.
注意编写7个不等式作为5个不必有序的决策变量的和太过繁琐了,因为在某些约束中,索引可能会覆盖索引值7。
Note that it would be too boring to write seven inequalities as a sum of five decision variables that are not necessarily in order, because in some constraints, the index may overlap the index 7.
这个方程式应该明确的定义决策变量、约束条件和目标函数。
The mathematical formulations should clearly define the decision variables, the constraints, and the objective function.
上层问题的目标函数和约束条件不仅与上层决策变量有关,而且还依赖于下层问题的最优解或最优值;
The upper objective function and constraints not only with the top decision variable, but also on the lower deck of the optimal solution or optimal values;
通过引入虚任务区概念,将三维约束降为二维约束,有效地降低了决策变量的复杂性。
The virtual mission area concept was advanced to transform the constraints of three dimensions to those of two dimensions to decrease the decision-variable complexities.
但由于决策方案一般涉及大量的约束条件和决策变量,给定量计算工作带来沉重的负担。
Due to restricted conditions and variables for decision making, the quantitative computation is a heavy workload.
但由于决策方案一般涉及大量的约束条件和决策变量,给定量计算工作带来沉重的负担。
Due to restricted conditions and variables for decision making, the quantitative computation is a heavy workload.
应用推荐