question

mark zhen avatar image
0 Likes"
mark zhen asked Jeanette F commented

I would like to know, machine learning about optimization

I would like to know, machine learning about optimization,

Is there any information on how I can improve the model made by the teaching guide?


(The way I want it to work is as follows, I have 5 products today with a random parameter, and I want to use reinforcement learning to train an optimized production schedule.)

FlexSim 22.0.0
pythonproduction schedule
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @mark zhen , was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Kavika F avatar image
0 Likes"
Kavika F answered Jason Lightfoot commented

Here are the docs on Reinforcement Learning Training, Concepts of Reinforcement Learning, and How to Use a Trained Model. This will point you in the right direction and hopefully provide enough detail you're looking for.

· 16
5 |100000

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

mark zhen avatar image mark zhen commented ·

I have already practiced the above content, but there is still a gap between what I expected. What I need is something that can be collected into a table. Let me know the order of production scheduling.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann mark zhen commented ·

Once you have trained the algorithm you can run the model while the algorithm is making decision during the run.

You could then record those decisions or their effect on the model by listening to various events and writing data to a global table.

For example to record the actions the algorithm is taking, you can listen to the RL-event "OnRequestAction" in an event-triggered source (use the sampling tool on the RL entry in the toolbox to select the event). Then have the token wait in a Delay activity for a tiny amount of time (so the request is processed first) and then log the value of the action parameters in a global table.

1660638184086.png

Similarly, you could log the item types that are processed by listening to some trigger of the processor (OnEntry, OnProcessFinish, ...).

What data you should collect depends on what exactly your desired output is.

0 Likes 0 ·
1660638184086.png (47.1 KiB)
mark zhen avatar image mark zhen Felix Möhlmann commented ·

但我想要做的事情是類似最佳化生產排程的計算,我該如何利用強化學習來達成這件事。

But what I want to do is something like optimizing production scheduling, and how can I use reinforcement learning to do that?

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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