infiniteopt / InfiniteOpt.jl

An intuitive modeling interface for infinite-dimensional optimization problems.
https://infiniteopt.github.io/InfiniteOpt.jl/stable
MIT License
251 stars 17 forks source link

Support Restrictions on Expressions #347

Closed pulsipher closed 2 months ago

pulsipher commented 2 months ago

See #346.

pulsipher commented 2 months ago

One complicating factor is that when restricting an expression, it may contain many kinds of variables. Consider the expression: $aff := y(t, x) + w(t) - s(x) + z(x, t) - 42$ If we we then try to restrict this with $aff(2, 5)$, we have no way of knowing which number corresponds to which infinite parameter.