简体   繁体   English

Excel规划求解,最大化两个值的方法?

[英]Excel Solver, way to maximize two values?

I am a user of microsoft excels solver, and am pretty sure it is not possible to solve to maximize for two values. 我是Microsoft Excel求解器的用户,并且非常确定不可能将两个值最大化。 I was wondering if anyone might have another clever way to do this. 我想知道是否有人可以用另一种聪明的方式来做到这一点。

Basically I have a column of numbers between 1 and 30 that I need to look over about and pull out 9 to 10 values (out of 200) based on a couple other constraints. 基本上,我需要查看一列介于1到30之间的数字,并根据其他一些约束提取9到10个值(从200个中提取)。 I would also like to not just maximize this value, but also a probability value (range from 0 to 1) that I would also like to maximize. 我不仅要最大化此值,还要最大化一个概率值(从0到1)。

Adding them up won't work as that would grossly undervalue the probability value and multiplying may do the opposite by overvaluing the probability. 将它们相加将不起作用,因为那样会严重低估概率值,而乘以则可能会通过高估概率而相反。 Any Strategies to handle this problem would be greatly appreciated. 任何解决该问题的策略将不胜感激。

This is an example of multi-objective optimization , which has an extensive literature. 这是一个多目标优化的例子,已有大量文献。 As the Wikipedia article shows, this can lead to some pretty deep waters. 如Wikipedia文章所示,这可能会导致一些深水。

By far the easiest approach is that of linear scalarization. 到目前为止,最简单的方法是线性标量。 This refers to replacing a vector of 2 (or more) objective functions by a single (hence scalar) objective function which is a linear combination of the objective function. 这是指用单个(因此是标量)目标函数代替2个(或多个)目标函数的向量 ,该目标函数是目标函数的线性组合。 What you can do with the solver is to create 2 cells to hold the relative weights to assign to the two objectives. 您可以使用求解器执行的操作是创建2个像元,以保存要分配给两个目标的相对权重。 These will be 2 numbers in the range 0 and 1 which sum to 1. Then create a new objective function which is the SUMPRODUCT (linear combination) of these weights and the objectives. 这些将是0和1范围内的2个数字,总和为1。然后创建一个新的目标函数,即这些权重和目标的SUMPRODUCT (线性组合)。 Then -- jut use the solver to optimize this objective function. 然后-突出使用求解器来优化此目标函数。 If you aren't happy with the results -- adjust the weights. 如果您对结果不满意-调整权重。 There is no one right answer. 没有一个正确的答案。 One of the advantages of this approach is that it allows a decision maker to clarify the relevant importance of the objectives. 这种方法的优点之一是,它允许决策者阐明目标的相关重要性。

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

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