Domain model for Distributing Products to different locations

12 views
Skip to first unread message

Amarjith Vishnu

unread,
Nov 14, 2022, 8:09:50 AM11/14/22
to OptaPlanner development
Hi,

I have a problem where I have different products and some quantity associated to each product.
I want to distribute each product to different locations by splitting the quantity and optimize some parameter.
List of locations is known.

I want to get the list of location to which each product should be sent and how much of that product should be allocated to each location.

How should the Planning entity look like for this?
Do you have some examples mirror this scenario?



Sebastian Mrożek

unread,
Jan 30, 2023, 7:13:07 PMJan 30
to OptaPlanner development
The docs are wonderful, I would strongly recommend checking a few examples in this chapter ('quick start'):
https://docs.optaplanner.org/8.33.0.Final/optaplanner-docs/html_single/index.html#quickStart
specifically here: https://docs.optaplanner.org/8.33.0.Final/optaplanner-docs/html_single/index.html#_model_the_domain_objects

The 'use cases and examples' has a range of various problems with their domain models explained: https://docs.optaplanner.org/8.33.0.Final/optaplanner-docs/html_single/index.html#useCasesAndExamples

cheers,
Seb
Reply all
Reply to author
Forward
0 new messages