Skip to content
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

Enable testing unconstrained solvers on constrained problems #32

Open
zaikunzhang opened this issue Feb 22, 2024 · 0 comments
Open

Enable testing unconstrained solvers on constrained problems #32

zaikunzhang opened this issue Feb 22, 2024 · 0 comments

Comments

@zaikunzhang
Copy link

zaikunzhang commented Feb 22, 2024

The idea is to test as many problems as possible.

Consider a constrained problem

$$\text{minimize} ~ ~ f(x) ~~\text{s.t.}~ ~ c(x) \le 0.$$

There are two ways to test an unconstrained solver on it.

  1. Ignore the constraints completely. The problem may not be well-posed anymore. However, it does not hurt to benchmark unconstrained solvers on it and see which solver can decrease $f$ more at less cost.

  2. Penalize the constraints. The possible penal functions are Courant (quadratic) and L_p. The penalty parameter should also be configurable.

Note that this may produce repeated problems, which I do not think is a big issue.

In the same way, we can also test bound-constrained solvers on linearly constrained problems, etc.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant