How to automatize optimization of Dynamic Scheduling?

I’ve setup an application where users can perform edits to existing schedules via the Dynamic Scheduling application.
https://www.palantir.com/docs/foundry/dynamic-scheduling/scheduling-overview/

However, I would like to automatize part of this work, or even all of it.
How can I provide suggestions of better schedules ? Can I provide an optimal schedule from there ? What are the strategies to apply ? Is there something I can use in the tooling available ?