Skip to content

Only bridge ScalarNonlinearFunction to polynomial - #134

Merged
blegat merged 2 commits into
mainfrom
bl/to_poly_only_nl
Nov 3, 2026
Merged

blegat merged 2 commits into
mainfrom
bl/to_poly_only_nl

Conversation

@blegat

@blegat blegat commented Mar 17, 2026

Copy link
Copy Markdown
Member

Otherwise, with MOI.Bridges.SingleBridgeOptimizer, it even bridges VariableIndex constraints etc...

Cover SingleBridgeOptimizer passthrough for variable, affine, quadratic, and polynomial functions. Check cubic nonlinear conversion for constraints and objectives, both objective senses, and replacement of a bridged objective with an affine function. Update the bridge source-node documentation to match the restricted support.

Validation: 210 checks pass in the standalone test/to_polynomial.jl with Int and Float64. Temporary line probes confirmed all narrowed bridge methods execute with ScalarNonlinearFunction. JuliaFormatter 2.14.7 completed successfully.
@blegat
blegat force-pushed the bl/to_poly_only_nl branch from 4906476 to b1cc1c2 Compare November 3, 2026 09:42
@blegat
blegat marked this pull request as ready for review November 3, 2026 15:05
@blegat
blegat merged commit 04b5d12 into main Nov 3, 2026
11 checks passed
@blegat
blegat deleted the bl/to_poly_only_nl branch November 3, 2026 15:05
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