-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPMixin: trivial constraints created when keep_soft_constraints=False #1110
Comments
In GitLab by @tpiovesan on Mar 7, 2019, 14:26 Snip of code to prevent adding these trivial constraints in CollIntOpt (in version 2.2.2):
|
In GitLab by @vreeken on Oct 25, 2019, 24:29 We should probably not fix this in CollInt, but in GPMixin instead. EDIT: |
In GitLab by @tpiovesan on Mar 7, 2019, 14:22
If a path goal with targets has a timestep for which both the target minimum and target maximum are equal to
$-\infty \leq f(x) \leq \infty$ .
np.Nan
, when soft constraints are transformed into hard constraints the following type of constraint is created:These turns out to be problematic when using CPLEX. Indeed, CasADi passes the constraint$f(x) \leq \infty$ to CPLEX which leads to optimization issues when the barrier method is used.
The text was updated successfully, but these errors were encountered: