With the restriction of water demand and supply, the objective function optimal value was calculated by sequential quadratic programming. 以需水量和可供水量为约束条件,采用序列二次规划法求解函数最优值。
The proposed approach is robust to local minima of the energy functional because it is minimized by dynamic programming method in the whole energy space. 由于采用了动态规划法并在整个能量空间中搜索能量泛函的极值,算法对能量泛函的局部极值有较强的鲁棒性。