Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python solver: support JSON of LoadBalance justification info #1264

Open
ge0ffrey opened this issue Dec 9, 2024 · 0 comments
Open

Python solver: support JSON of LoadBalance justification info #1264

ge0ffrey opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working process/needs triage Requires initial assessment of validity, priority etc. python Is related to Python code.

Comments

@ge0ffrey
Copy link
Contributor

ge0ffrey commented Dec 9, 2024

To reproduce:

  • run score analysis on a load balancing use case and serialize to JSON (through a rest endpoint)
  • with python

Error:

Unable to serialize unknown type: <java class 'ai.timefold.solver.core.impl.score.stream.collector.LoadBalanceImpl'>
@ge0ffrey ge0ffrey added bug Something isn't working process/needs triage Requires initial assessment of validity, priority etc. labels Dec 9, 2024
@triceo triceo added the python Is related to Python code. label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working process/needs triage Requires initial assessment of validity, priority etc. python Is related to Python code.
Projects
None yet
Development

No branches or pull requests

2 participants