Skip to content

Use placeholder in needs_final_touch - #3034

Closed
blegat wants to merge 1 commit into
masterfrom
bl/placeholder
Closed

Use placeholder in needs_final_touch#3034
blegat wants to merge 1 commit into
masterfrom
bl/placeholder

Conversation

@blegat

@blegat blegat commented Jul 27, 2026

Copy link
Copy Markdown
Member

If this works then we're sure we won't hit any O(N) complexity.

n_final_touch = length(map.needs_final_touch)
# To make this happen, we insert a placeholder before calling
# `bridge_constraint` and we replace it by the bridge afterwards.
if MOI.Bridges.needs_final_touch(bridge)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It doesn’t because bridge is not known here yet

@odow odow closed this Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants