Questions tagged [optaplanner]

OptaPlanner is a lightweight, embeddable planning engine written in Java. It helps normal Java programmers solve constraint satisfaction problems efficiently. Under the hood, it combines optimization heuristics and metaheuristics with very efficient score calculation.

OptaPlanner is a Artificial Intelligence planning engine written in Java. It works in Kotlin and Scala too. It integrates with Quarkus and Spring Boot. It helps normal programmers solve constraint solving problems efficiently. Under the hood, it combines optimization heuristics and metaheuristics with incremental score calculation.

Typical use cases include the vehicle routing problem, maintenance scheduling, employee rostering, task assignment and school timetabling.

OptaPlanner is open source software, released under the Apache Software License. It is 100% pure Java, runs on any JVM and is available in the Maven Central Repository too.

1619 questions
0
votes
1 answer

Moving chained Planning Entities while solving time

In Optaplanner, is it possible to assign the same planning variable to different planning entities in a move (between score calculations)? For eg, when Customer A is assigned to a StandStill, Customer B will also be assigned to the same…
0
votes
1 answer

Same Benchmark Result for Project Job Scheduling Example (Enhanced)

I have enhance the project job scheduling example from optaplanner examples with these features : Priority Based Project : execution order will be start from higher priority project Break Time Feature : adding another shadow variable named…
the.wizard
  • 1,079
  • 1
  • 9
  • 25
0
votes
1 answer

Opta Planner How could I arrange courses lecture in 2 periods sequential

I' developing a auto time table software at the Ataturk University in Turkey using Optaplanner. Optalanner has met all the requirements. But in addition there are a few requirements. One of them: ->When i want to put a course on time table, how…
0
votes
1 answer

Optaplanner: Extend vehiclerouting example to include secure transport

I am want to add a simple boolean value to each vehicle that indicates if the vehicle is secure, then for each customer a similar boolean to indicate that the customer requires a secure vehicle. I have got as far as working out I need to: extend…
user2195559
  • 311
  • 1
  • 11
0
votes
1 answer

does OptaPlanner take care of TSPTW (or VRPTW ) with optional nodes?

let's say my traveling salesman is allowed to ignore some nodes, as long as he finishes visiting the nodes he chose , within a time range. his goal is to maximize the gain from the nodes visited (such as the total sales amount from these nodes). I…
teddy teddy
  • 3,025
  • 6
  • 31
  • 48
0
votes
1 answer

Solver is too slow

I am still using the OptaPlanner to optimize a chained planning problem which is similar to the VehicleRoutingExample. My planning entities have a planning variable which is another planning entity. The scores are HardSoftScores, which are…
Jon As
  • 15
  • 1
  • 5
0
votes
1 answer

OptaPlanner : ValueSelector can not use ValueRangeType.FROM_PLANNING_ENTITY_PROPERTY

I am using MoveSelector configuration in the ConstructionHeuristic Phase. It works fine with configuring filterClass and comparatorClass in EntitySelector. However, in ValueSelector session, I am not able to use…
sky.flyer
  • 91
  • 8
0
votes
0 answers

Performance tips for a different domain model in OptaPlanner

I am trying to use Optaplanner to do some sort of Course Scheduling but, instead of have isolated courses, I have a group of them that have to occur one after other. I am not sure if it is clear, let me give an example:…
Alberto Souza
  • 105
  • 1
  • 8
0
votes
1 answer

How to store the fetched MySQL data into Optaplanner-examples

I have created a MySQL database with entries similar to nurse roster, i have generated these entries to be in XML format using below code. package com.jdbcxml; import java.io.FileOutputStream; import java.io.FileWriter; import…
Angular zeus
  • 23
  • 1
  • 9
0
votes
4 answers

How do I load a xml in Optaplanner

I have created a MySQL database with entries similar to nurse roster, Now i need to send this data to optaplanner deployed on my server. To which file do i need to send it in the optaplanner folder deployed on server to get the results displayed on…
Angular zeus
  • 23
  • 1
  • 9
0
votes
1 answer

Passing input to optaplanner

I'm using MySql database for Passing input to optaplanner, im creating file similar to nurserostering in optaplanner. How many tables do i need to create if i need to pass the similar data in long01.xml Am struck on this please do give me some…
Angular zeus
  • 23
  • 1
  • 9
0
votes
1 answer

Optaplanner employee scheduler

I'm trying to implement Employee and volunteer scheduler webapp using optaplanner, which all files do i need to import in webaction.jsp file. Also can i please know how to proceed to create web application using optaplanner. so far i have created…
Angular zeus
  • 23
  • 1
  • 9
0
votes
1 answer

IncrementalScore produces unfeasible solution in Optaplanner

I am still using the OptaPlanner to optimize a chained planning problem which is similar to the VehicleRoutingExample. My planning entities have a planning variable which is another planning entity. The scores are HardSoftScores. I have initialized…
Jon As
  • 15
  • 1
  • 5
0
votes
2 answers

Optaplanner: Adding new constraint(hard)

I've been familiarizing myself with Optaplanner recently - more specifically, with its nurse rostering example - and have been attempting to add a new hard constraint but, so far, haven't had much success. I'm endeavoring to add a…
0
votes
1 answer

Optaplanner / time dependent vehicle routing / considering list of customer operation time windows belonging to activities

Dear OptaPlanner users, I am using as basis the time dependent vehicle routing example. Here I have removed all TimeWindowed classes, e.g. the content of "TimeWindowedActivity.java" is moved and combined with "Activity.java", and so on ... Now I…
len
  • 749
  • 1
  • 8
  • 23
1 2 3
99
100