Skip to content

Make LinearSolver::MPConstraint::Clear() available in C# #4727

@rs-blade

Description

@rs-blade

What language and solver does this apply to?
C#, Linear Solver

Describe the problem you are trying to solve.
Currently we dump the whole model and rebuild it for each Solve run even though there are only minor changes between the runs.
So in the future we'd like to re-wire the current model (variables and constraints).
For that I need to call Clear() on the Constraint class. Unfourtunatly that method is not mapped to C#!

Describe the solution you'd like
Map the method MPConstraint::Clear() to C#'s Constraint class.

Describe alternatives you've considered
There are no alternatives.

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions