-
I am using IPOPT for MATLAB (OptiToolbox). I am interested in only feasible solutions, so I make the objective function a constant and run the solver. But I find that IPOPT is still trying to get a dual feasible solution. Is there a way to make the solver ignore the dual problem completely? I tried setting a large dual_inf_tol but even that didn't help. Please suggest ideas. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Try setting |
Beta Was this translation helpful? Give feedback.
-
Worked out. Thanks.
…On Mon, Oct 4, 2021 at 5:48 PM Stefan Vigerske ***@***.***> wrote:
Try setting tol and compl_inf_tol to large values, too.
tol is the max of primal infeas, dual infeasibility, and complementarity
violation in the scaled problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#520 (comment)>,
or unsubscribe
</~https://github.com/notifications/unsubscribe-auth/AHHO5AJSCJB4XGHRX5BBL3DUFGLR7ANCNFSM5FGL4IEQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Of course needed to set constr_viol_tol and acceptable_constr_viol_tol
also. Also, the substitute for ‘tol’ in OptiToolbox is acceptable_tol.
On Wed, Oct 6, 2021 at 5:27 AM Bharath ae15d019 ***@***.***>
wrote:
… Worked out. Thanks.
On Mon, Oct 4, 2021 at 5:48 PM Stefan Vigerske ***@***.***>
wrote:
> Try setting tol and compl_inf_tol to large values, too.
> tol is the max of primal infeas, dual infeasibility, and complementarity
> violation in the scaled problem.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#520 (comment)>,
> or unsubscribe
> </~https://github.com/notifications/unsubscribe-auth/AHHO5AJSCJB4XGHRX5BBL3DUFGLR7ANCNFSM5FGL4IEQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
Beta Was this translation helpful? Give feedback.
Try setting
tol
andcompl_inf_tol
to large values, too.tol
is the max of primal infeas, dual infeasibility, and complementarity violation in the scaled problem.