Este contenido no está disponible en el idioma seleccionado.
Chapter 2. Red Hat Build of OptaPlanner 8.33 new features
This section highlights new features in Red Hat Build of OptaPlanner 8.33.
Bavet is a feature used for fast score calculation. Bavet is currently only available in the community version of OptaPlanner. It is not available in Red Hat Build of OptaPlanner 8.33.
2.1. OptaPlanner and the Red Hat build of Quarkus platform Copiar enlaceEnlace copiado en el portapapeles!
Red Hat Build of OptaPlanner is now integrated with the Red Hat build of Quarkus platform. Versions of platform artifact dependencies, including OptaPlanner dependencies, are maintained in the Quarkus bill of materials (BOM) file, com.redhat.quarkus.platform:quarkus-bom
. When you use the Quarkus BOM file with your OptaPlanner projects, you do not need to specify which dependency versions work together. Instead, you can import the Quarkus BOM file to the pom.xml
configuration file, where the dependency versions are included in the <dependencyManagement>
section. Therefore, you do not need to list the versions of individual Quarkus dependencies that are managed by the specified BOM in the pom.xml
file.
2.2. Value range auto-detection Copiar enlaceEnlace copiado en el portapapeles!
In most cases, links between planning variables and value ranges are auto-detected. Therefore, the @ValueRangeProvider
annotation no longer needs to provide an id
property. Likewise, planning variables no longer need to reference value range providers through the valueRangeProviderRefs
property.
No code changes or configuration changes are required. If you prefer clarity over brevity, you can continue to explicitly reference your value range providers.
2.3. XStream support deprecated Copiar enlaceEnlace copiado en el portapapeles!
OptaPlanner support for serializing into XML using XStream is deprecated with this release. The optaplanner-persistence-xstream
module and all classes that it contains are now deprecated and will be removed in a future release of Red Hat Build of OptaPlanner. To continue serializing into XML, switch to the optaplanner-persistence-jaxb
module.
All examples in the optaplanner-examples
module have been refactored to JSON by using the optaplanner-persistance-jackson
module. Quickstarts are affected by these changes because they were already serializing into JSON.
2.4. OptaPlanner examples removed from the distribution Copiar enlaceEnlace copiado en el portapapeles!
The following examples were removed from the optaplanner-examples
directory:
- Batch Scheduling
- Cheap Time
- Coach Shuttle Gathering
- Investment
- Rock Tour