Skip to content

feat: implement normalize function for Constraint<usize>#384

Open
avorylli wants to merge 1 commit intoiden3:masterfrom
avorylli:av
Open

feat: implement normalize function for Constraint<usize>#384
avorylli wants to merge 1 commit intoiden3:masterfrom
avorylli:av

Conversation

@avorylli
Copy link

@avorylli avorylli commented Sep 8, 2025

Implements the TODO normalize function for Constraint<usize>.

  • Returns normalized copy of constraint using existing fix_raw_constraint logic
  • Removes zero coefficients and simplifies constant expressions
  • Includes tests for empty, linear, and quadratic constraints

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.

1 participant