See section 2.2: https://docs.optaplanner.org/7.36.0.Final/optaweb-vehicle-ro...
You can still call it from JVM using JNI