TimefoldAI / TimefoldAI/timefold-solver

ListVariables with an empty element list should do nothing (not throw IllegalStateException)

Open
#79 2 comments 1 reaction 1 assignee View on GitHub

@triceo is already working on this.

Since Jun 10, 2023.

Dominant language
Java
Stars
1.8k
Forks
228
Avg merge
1d 13h
Merged PRs (30d)
46

Description

Instead it should just log that it couldn't do anything.

To reproduce, solve a ListVariable VRP (= quickstart) with an empty Visit list.

To see how it should behave - for consistency - solve employee scheduling with an empty shift list. Watch the DEBUG log.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.