Skip to content

Use copy_if_modifiable in bridge ConstraintFunction getters - #3132

Merged
blegat merged 1 commit into
masterfrom
bl/bridge_copy_if_modifiable
Nov 6, 2026
Merged

blegat merged 1 commit into
masterfrom
bl/bridge_copy_if_modifiable

Conversation

@blegat

@blegat blegat commented Nov 6, 2026

Copy link
Copy Markdown
Member

These getters copied the stored function since #2328 so that modifying the returned function with modify_function! does not modify the bridge. This is only needed for functions that can be modified through the MOI API, so use copy_if_modifiable as in SplitIntervalBridge, see #2803

These getters copied the stored function since #2328 so that modifying the
returned function with modify_function! does not modify the bridge. This is
only needed for functions that can be modified through the MOI API, so use
copy_if_modifiable as in SplitIntervalBridge.
@blegat
blegat merged commit ccef35f into master Nov 6, 2026
30 of 31 checks passed
@blegat
blegat deleted the bl/bridge_copy_if_modifiable branch November 6, 2026 13:19
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.

1 participant