Mathematica 目标编程模型定义
我正在评估 Wolfram Mathematica 8 的大学课程项目。
我在定义目标编程模型时遇到困难。 首先是因为我在数学方面确实很匮乏:)其次是因为我在 官方文档中找到的内容(寻找“多目标优化:目标编程”)很差。
我试图为软件项目维护阶段的资源分配定义一个小模型。这是非正式模型定义:
不要担心 函数。它是一个激活函数,如果小时数超过阈值,则返回 1。阈值是解决错误所需的平均小时数。
请不要评论该模型的实用性:它不是本课程的目标。而且,这里的时间是随意的,用于测试。
我请求帮助将这个非正式模型表达为 Mathematica 目标编程模型。也就是说,我在语法和内置函数方面遇到了问题。
如果您需要更多信息,请在这里评论,我会提供。
对于版主:线性目标编程和模型定义标签在这里可能有用,但我没有创建它们的声誉。
I am evaluating Wolfram Mathematica 8 for a university course project.
I am having difficulties to define a Goal Programming model.
First because I am really scarce in math :) Second, because what I found in the official documentation (look for "Multiobjective Optimization: Goal Programming") is poor.
I am trying to define a little model for allocation of resources in maintenance phase of a software project. This is the informal model definition:
Don't worry about the function. It is an activation function that returns 1 if the number of hours exceeds a threshold. The threshold is the average number of hours that a bug needs in order to be solved.
Please don't comment about the usefulness of this model: it is not an objective of the course. Moreover, the number of hours here is casual, for testing.
I am requesting help to express this informal model into a Mathematica Goal Programming model. That is, I am having problems with the syntax and the built-in functions.
Please comment here if you need additional information, I will provide them.
For moderators: the tags linear-goal-programming and model-definition could be useful here but I don't have the reputation to create them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我解决问题的方法。可能:)我的教授会告诉我的。
当然,这并不优雅,请记住,我已经使用 Mathematica 几周了,而且我以前从未做过此类开发。
它使用常规的目标编程模型,例如 Ignizio, JP (1978) 提出的模型。
目前只有一个最小化“步骤”。
我提供了屏幕截图,如果你们中的一些人对源代码感兴趣,只需写下带有一些联系方式的评论。
1:目标规划回顾:多目标分析工具。
詹姆斯·P·伊格尼齐奥
运筹学杂志,卷。 29,第 11 期(1978 年 11 月),第 1109-1119 页 http://www .jstor.org/stable/10.2307/3009359
Here is how I solved it. Probably :) My professor will tell.
Of course it is not elegant, keep in mind that I am using Mathematica since a couple of weeks and I have never done such type of development before.
It uses a regular Goal Programming model like the one proposed by Ignizio, J.P. (1978).
There is just one "step" of minimization for now.
I provide the screenshots, if some of you is interested in the source-code just write a comment with some contact details.
1: A Review of Goal Programming: A Tool for Multiobjective Analysis.
James P. Ignizio
The Journal of the Operational Research Society , Vol. 29, No. 11 (Nov., 1978), pp. 1109-1119 http://www.jstor.org/stable/10.2307/3009359