question

AmyTsai avatar image
0 Likes"
AmyTsai asked Felix Möhlmann commented

Multiple Objectives in Optimization: Max Output & Min Stay Time

Dear FlexSim Community,

In my current model, I am using Optimization 5, where the objective is set to maximize output. However, I would like to add another objective—to minimize stay time—so that the optimization process considers both factors simultaneously.

Is it possible to define multiple objectives in the optimization settings? If so, how should I configure the objective column to include minimizing stay time? Are there any additional settings or adjustments I need to make to achieve this?

I appreciate any guidance or insights you can provide. Thank you in advance for your help! jobshop Experimenter 27 SC3.fsm

FlexSim 22.2.0
optimization
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

AmyTsai avatar image
0 Likes"
AmyTsai answered Felix Möhlmann commented

@Felix Möhlmann

Many thanks for your advice.

I try to add staytime function that you suggest as below but system display " Error in objective function equation". Did I use the wrong format?

2025-04-02.png

I appreciate any guidance or insights you can provide. Thank you in advance for your help!



2025-04-02.png (4.7 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

You can just add a second objective to the optimization job. It will try to find optimal scenarios for both and mark scenarios that represent 'good' tradeoffs.

1743578746439.png

https://docs.flexsim.com/en/25.0/GettingData/AdvancedDataGathering/RunningJobs/RunningJobs.html#opt

Putting both types of performance measure into a single objective function would also be possible if you have specific values in mind of how the output and staytime should be weighted respectively.


1743578746439.png (8.9 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.