项目进度修改
Project scheduling modification
我 运行 optaplanner 示例,它们看起来非常有趣。我想更深入地研究这个工具。首先我有一些问题:
- 我的修改从哪里开始?如果我只想提供另一个输入,是否需要编码?或者我必须修改 A-1.xml 例如?
- 如果我想在某些天向我的资源添加可用性,以便在任务的所有天都可用时我可以将资源分配给任务
- 如果资源在任务持续时间的一天内不可用,我想分配另一个资源。因此,要么需要拆分一个任务,要么可以将两个不同的资源分配给一个任务。此要求已在 http://docs.jboss.org/optaplanner/release/6.2.0.CR4/optaplanner-docs/html_single/images/Chapter-Use_cases_and_examples/projectJobSchedulingUseCase.png
中得到遵守
期待我的第一步。
要添加新出现的现有约束,请更改输入数据文件。 txt 格式在 the problem specification description 中有描述,xml 格式只是对域 类.
的直接 XStream 序列化
要添加自定义约束类型,请从 opening the examples sources in your IDE 开始。
然后看看域名包。 类 Job、ExecutionMode、ResourceRequirement 等在 the problem specification description 中应该听起来很熟悉。
再看看the score constraint rules。我发现在这个用例中这些有点难以理解,在其他示例(例如云平衡)中更容易理解。
我 运行 optaplanner 示例,它们看起来非常有趣。我想更深入地研究这个工具。首先我有一些问题:
- 我的修改从哪里开始?如果我只想提供另一个输入,是否需要编码?或者我必须修改 A-1.xml 例如?
- 如果我想在某些天向我的资源添加可用性,以便在任务的所有天都可用时我可以将资源分配给任务
- 如果资源在任务持续时间的一天内不可用,我想分配另一个资源。因此,要么需要拆分一个任务,要么可以将两个不同的资源分配给一个任务。此要求已在 http://docs.jboss.org/optaplanner/release/6.2.0.CR4/optaplanner-docs/html_single/images/Chapter-Use_cases_and_examples/projectJobSchedulingUseCase.png 中得到遵守
期待我的第一步。
要添加新出现的现有约束,请更改输入数据文件。 txt 格式在 the problem specification description 中有描述,xml 格式只是对域 类.
的直接 XStream 序列化要添加自定义约束类型,请从 opening the examples sources in your IDE 开始。
然后看看域名包。 类 Job、ExecutionMode、ResourceRequirement 等在 the problem specification description 中应该听起来很熟悉。
再看看the score constraint rules。我发现在这个用例中这些有点难以理解,在其他示例(例如云平衡)中更容易理解。