InfiniteOpt.jl icon indicating copy to clipboard operation
InfiniteOpt.jl copied to clipboard

Explicitly Manage Boundary Conditions

Open pulsipher opened this issue 3 years ago • 0 comments

Currently, we define boundary conditions as constraints, but the model doesn't explicitly track/identify these. We should explicitly track these to enhance error checking and better support transformation methods.

One possibility would be to tag them:

@constraint(model, [constr_expr], BoundaryCondition)

And/or we can automatically detect them by interrogating each constraint made.

With these constraints identified, we can potentially work to avoid boundary condition conflicts. This has some connection to #166 and #167. This should be helpful with PDE transformation methods.

pulsipher avatar Jan 07 '22 00:01 pulsipher