Skip to content

Conversation

@Christopher-Chianelli
Copy link
Contributor

No description provided.

Copy link
Collaborator

@triceo triceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea on the event type! I think we can still improve on it.

Copy link
Collaborator

@triceo triceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have to ask the platform guys about serialization of the events. That will give us some context here.

A Problem Change does not trigger a new best solution event if it occurs
before Construction Heuristic finishes.
Copy link
Collaborator

@triceo triceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're missing the identification on the first initialized solution consumer. After that, we're good.

…olution

Having a consumer that accepts the solution was fragile, since whenever
we wanted to add additional info, we would need to create an additional
overload.
Using events allows us to add new methods without affecting user code.
Copy link
Collaborator

@triceo triceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one comment. As agreed, I'll fix it myself.

@triceo triceo linked an issue Nov 8, 2025 that may be closed by this pull request
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 8, 2025

@triceo triceo merged commit 298d4ed into TimefoldAI:main Nov 8, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Best solution events should identify which phase they come from

2 participants