Jump To Close Expand all Collapse all Table of contents 使用红帽构建的 OptaPlanner 开发解决方案 前言 使开源包含更多 I. Red Hat Build of OptaPlanner 8.38 发行注记 Expand section "I. Red Hat Build of OptaPlanner 8.38 发行注记" Collapse section "I. Red Hat Build of OptaPlanner 8.38 发行注记" 1. 从 OptaPlanner 8.13 升级到 Red Hat Build of OptaPlanner 8.38 2. 红帽构建的 OptaPlanner 8.38 新功能 Expand section "2. 红帽构建的 OptaPlanner 8.38 新功能" Collapse section "2. 红帽构建的 OptaPlanner 8.38 新功能" 2.1. pillar move 和 nearby 选择的性能改进 2.2. OptaPlanner 配置改进 2.3. 对 K-Opt moves 的 PlanningListVariable 支持 2.4. SolutionManager 支持更新 shadow 变量 2.5. 值范围自动检测 II. 红帽构建的 OptaPlanner 入门 Expand section "II. 红帽构建的 OptaPlanner 入门" Collapse section "II. 红帽构建的 OptaPlanner 入门" 3. 红帽构建的 OptaPlanner 简介 Expand section "3. 红帽构建的 OptaPlanner 简介" Collapse section "3. 红帽构建的 OptaPlanner 简介" 3.1. 后向兼容性 3.2. 规划问题 3.3. 规划问题中的 NP-completeness 3.4. 规划问题的解决方案 3.5. 规划问题的约束 3.6. Red Hat Build of OptaPlanner 提供的示例 3.7. n queens Expand section "3.7. n queens" Collapse section "3.7. n queens" 3.7.1. N queens 的域模型 3.8. 云平衡 3.9. 旅行销售人(TSP - traveling Salesman 问题) 3.10. Tennis club 调度 3.11. 满足调度 3.12. 课程时间选项卡(ITC 2007 跟踪 3 - Curriculum course 计划) 3.13. 机器重新分配(Google ROADEF 2012) 3.14. 项目作业调度 3.15. 任务分配 3.16. 考试时间选项卡(ITC 2007 年跟踪 1 - 考核) Expand section "3.16. 考试时间选项卡(ITC 2007 年跟踪 1 - 考核)" Collapse section "3.16. 考试时间选项卡(ITC 2007 年跟踪 1 - 考核)" 3.16.1. 用于测试时间建立的域模型 3.17. Nurse rostering (INRC 2010) 3.18. 追踪准入调度 3.19. traveling tournament 问题(TTP) 3.20. 更便宜的时间调度 3.21. 投资资产类分配(Portfolio Optimization) 3.22. 会议调度 3.23. rockur 3.24. 飞行人员的调度 4. 下载并构建红帽构建的 OptaPlanner 示例 5. 在 Red Hat build of Quarkus 平台上开始使用 Red Hat Build of OptaPlanner Expand section "5. 在 Red Hat build of Quarkus 平台上开始使用 Red Hat Build of OptaPlanner" Collapse section "5. 在 Red Hat build of Quarkus 平台上开始使用 Red Hat Build of OptaPlanner" 5.1. Apache Maven 和红帽构建的 Quarkus Expand section "5.1. Apache Maven 和红帽构建的 Quarkus" Collapse section "5.1. Apache Maven 和红帽构建的 Quarkus" 5.1.1. 为在线存储库配置 Maven settings.xml 文件 5.1.2. 下载并配置 Quarkus Maven 存储库 5.2. 使用 Maven 插件在 Quarkus 平台上创建红帽构建的 OptaPlanner 项目 5.3. 使用 code.quarkus.redhat.com 在 Quarkus 平台上创建红帽构建的 OptaPlanner 项目 5.4. 使用 Quarkus CLI 在 Quarkus 平台上创建红帽构建的 OptaPlanner 项目 III. 红帽构建的 OptaPlanner solver Expand section "III. 红帽构建的 OptaPlanner solver" Collapse section "III. 红帽构建的 OptaPlanner solver" 6. 配置红帽构建的 OptaPlanner solver Expand section "6. 配置红帽构建的 OptaPlanner solver" Collapse section "6. 配置红帽构建的 OptaPlanner solver" 6.1. 使用 XML 文件配置 OptaPlanner solver 6.2. 使用 Java API 配置 OptaPlanner solver 6.3. OptaPlanner 注解 6.4. 指定 OptaPlanner 域访问 6.5. 配置自定义属性 7. 使用 OptaPlanner solver Expand section "7. 使用 OptaPlanner solver" Collapse section "7. 使用 OptaPlanner solver" 7.1. 解决问题 7.2. solver 环境模式 7.3. 更改 OptaPlanner solver 日志记录级别 7.4. 使用 Logback 记录 OptaPlanner solver 活动 7.5. 使用 Log4J 记录 OptaPlanner solver 活动 7.6. 监控解决方案 Expand section "7.6. 监控解决方案" Collapse section "7.6. 监控解决方案" 7.6.1. 为 Micrometer 配置 Quarkus OptaPlanner 应用程序 7.6.2. 为 Micrometer 配置 Spring Boot OptaPlanner 应用程序 7.6.3. 为 Micrometer 配置普通 Java OptaPlanner 应用程序 7.6.4. 其他指标 7.7. 配置随机数字生成器 8. OptaPlanner SolverManager Expand section "8. OptaPlanner SolverManager" Collapse section "8. OptaPlanner SolverManager" 8.1. 批处理解决问题 8.2. 解决并侦听显示进度 IV. OptaPlanner 分数计算 Expand section "IV. OptaPlanner 分数计算" Collapse section "IV. OptaPlanner 分数计算" 9. OptaPlanner 中的业务限制 Expand section "9. OptaPlanner 中的业务限制" Collapse section "9. OptaPlanner 中的业务限制" 9.1. 负和正分数限制 9.2. 分数约束权重 9.3. 分数约束级别 10. OptaPlanner Score 接口 Expand section "10. OptaPlanner Score 接口" Collapse section "10. OptaPlanner Score 接口" 10.1. 分数计算中的浮点号 10.2. 分数计算类型 Expand section "10.2. 分数计算类型" Collapse section "10.2. 分数计算类型" 10.2.1. Implenting the Easy Java 分数计算类型 10.2.2. 实施增量 Java 分数计算类型 11. InitializingScoreTrend 类 12. 无效的分数检测 13. 分数计算性能技巧 Expand section "13. 分数计算性能技巧" Collapse section "13. 分数计算性能技巧" 13.1. 分数计算速度 13.2. 增量分数计算 13.3. 远程服务 13.4. 无状态限制 13.5. 内置硬性限制 13.6. 分数陷阱 13.7. stepLimit 基准 13.8. 平等分数限制 13.9. 其他分数计算性能提示 13.10. 配置限制 13.11. 解释分数 13.12. 视觉化热计划实体 13.13. 分数限制测试 V. 红帽构建的 OptaPlanner 快速启动指南 Expand section "V. 红帽构建的 OptaPlanner 快速启动指南" Collapse section "V. 红帽构建的 OptaPlanner 快速启动指南" 14. Red Hat build of Quarkus 平台的 Red Hat build of OptaPlanner: 一个 medium timetable 的快速开始指南 Expand section "14. Red Hat build of Quarkus 平台的 Red Hat build of OptaPlanner: 一个 medium timetable 的快速开始指南" Collapse section "14. Red Hat build of Quarkus 平台的 Red Hat build of OptaPlanner: 一个 medium timetable 的快速开始指南" 14.1. 对域对象建模 14.2. 定义限制并计算分数 14.3. 在规划解决方案中收集域对象 14.4. 创建 solver 服务 14.5. 设置 solver 终止时间 14.6. 运行 amp timetable 应用程序 14.7. 测试应用程序 Expand section "14.7. 测试应用程序" Collapse section "14.7. 测试应用程序" 14.7.1. 测试 education 时间表限制 14.7.2. 测试 Central timetable solver 14.8. 日志记录 14.9. 将数据库与您的 Quarkus OptaPlanner research timetable 应用程序集成 14.10. 使用 Micrometer 和 Prometheus 监控您的 PROFILE OptaPlanner Quarkus 应用程序 15. 红帽构建的 Quarkus 上的 OptaPlanner 构建: vaccination appointment 调度程序快速启动指南 Expand section "15. 红帽构建的 Quarkus 上的 OptaPlanner 构建: vaccination appointment 调度程序快速启动指南" Collapse section "15. 红帽构建的 Quarkus 上的 OptaPlanner 构建: vaccination appointment 调度程序快速启动指南" 15.1. OptaPlanner vaccination appointment 调度程序的工作方式 Expand section "15.1. OptaPlanner vaccination appointment 调度程序的工作方式" Collapse section "15.1. OptaPlanner vaccination appointment 调度程序的工作方式" 15.1.1. 红帽构建的 OptaPlanner vaccination appointment 调度程序限制 15.1.2. 红帽构建的 OptaPlanner solver 15.1.3. 持续规划 15.1.4. 固定计划实体 15.2. 下载并运行 OptaPlanner vaccination appointment 调度程序 15.3. 软件包并运行 OptaPlanner vaccination appointment 调度程序 15.4. 其他资源 16. 红帽构建的 Quarkus 上的 OptaPlanner 构建:员工调度程序快速启动指南 Expand section "16. 红帽构建的 Quarkus 上的 OptaPlanner 构建:员工调度程序快速启动指南" Collapse section "16. 红帽构建的 Quarkus 上的 OptaPlanner 构建:员工调度程序快速启动指南" 16.1. 下载并运行 OptaPlanner 员工调度程序 16.2. 软件包并运行 OptaPlanner 员工调度程序 17. Red Hat build of OptaPlanner on Spring Boot: a tutorial timeable quick start 指南 Expand section "17. Red Hat build of OptaPlanner on Spring Boot: a tutorial timeable quick start 指南" Collapse section "17. Red Hat build of OptaPlanner on Spring Boot: a tutorial timeable quick start 指南" 17.1. 下载并构建 Spring Boot school timetable 快速启动 17.2. 对域对象建模 17.3. 定义限制并计算分数 17.4. 在规划解决方案中收集域对象 17.5. 创建 Timetable 服务 17.6. 设置 solver 终止时间 17.7. 使应用程序可执行 Expand section "17.7. 使应用程序可执行" Collapse section "17.7. 使应用程序可执行" 17.7.1. 尝试 timetable 应用程序 17.7.2. 测试应用 17.7.3. 日志记录 17.8. 添加数据库和 UI 集成 17.9. 使用 Micrometer 和 Prometheus 监控您的 Central timetable OptaPlanner Spring Boot 应用程序 18. 红帽构建的 OptaPlanner 和 Java:中等时间的快速入门指南 Expand section "18. 红帽构建的 OptaPlanner 和 Java:中等时间的快速入门指南" Collapse section "18. 红帽构建的 OptaPlanner 和 Java:中等时间的快速入门指南" 18.1. 创建 Maven 或 Gradle 构建文件并添加依赖项 18.2. 对域对象建模 18.3. 定义限制并计算分数 18.4. 在规划解决方案中收集域对象 18.5. The TimeTableApp.java class 18.6. 创建并运行 PROFILE timetable 应用程序 18.7. 测试应用程序 Expand section "18.7. 测试应用程序" Collapse section "18.7. 测试应用程序" 18.7.1. 测试 education 时间表限制 18.7.2. 测试 Central timetable solver 18.8. 日志记录 18.9. 使用 Micrometer 和 Prometheus 来监控您的中级时间 OptaPlanner Java 应用程序 A. 版本信息 法律通告 Settings Close Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page 使用红帽构建的 OptaPlanner 开发解决方案 Red Hat Build of OptaPlanner 8.38法律通告摘要 本文档论述了如何使用红帽构建的 OptaPlanner 开发解决方案,以查找规划问题的最佳解决方案。 Next