简体   繁体   English

Excel 求解器 MOLP - 有没有办法在最小化成本的同时最大化数量?

[英]Excel Solver MOLP - is there a way to Maximise Amount whilst Minimising cost?

Is there a way to use solver in a way to maximise X wilst using as little of budget Y as possible?有没有一种方法可以使用求解器来最大化 X,同时使用尽可能少的预算 Y?

Looked onlime but can't find any MOLP videos using excel, mainly just mathematical literature.在线查看但找不到任何使用 excel 的 MOLP 视频,主要是数学文献。

this comes about as after using solver, I noticed that If one choice was used instead of another, it would turn out cheaper whilst still satisfying all constraints, as I had just set objective to maximise X.这是在使用求解器之后发生的,我注意到如果使用一种选择而不是另一种选择,它会变得更便宜,同时仍然满足所有约束,因为我刚刚设定了最大化 X 的目标。

I've tried looking at maximum X, but since that is the goal and there is no minimum Y constraint, I cannot find a solution that satisfies max X in the most economically efficient way.我试过查看最大 X,但由于这是目标并且没有最小 Y 约束,所以我找不到以最经济有效的方式满足最大 X 的解决方案。

I am using simplex LP.我正在使用单纯形 LP。

Thanks.谢谢。

I think this is what you want:我想这就是你想要的:

  1. Solve maximizing X解决最大化 X
  2. Fix X to its optimal value将 X 固定为其最优值
  3. Solve minimizing Y解决最小化 Y

The problem is called a pre-emptive MOLP and this algorithm is called lexicographic.该问题称为先发制人的 MOLP,该算法称为词典编排。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM