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

doe error 'No feasible point found. Constraint polytope appears empty. Check your constraints.' Honestly not very helpful. Maybe a tutorial to explore this topic? #163

Closed
rosonaeldred opened this issue Apr 19, 2023 · 4 comments
Labels
hackathon help wanted Extra attention is needed

Comments

@rosonaeldred
Copy link

# == "No feasible point found. Constraint polytope appears empty. Check your constraints."

Developed my own "fake doe generator" for a simulation, not necessarily keen on including it in this repo, but we can talk about it in the hackathon and how to fix things so i run into this error less often, or fix doe so it spits it out less often ;)

@rosonaeldred rosonaeldred added help wanted Extra attention is needed hackathon labels Apr 19, 2023
@rosonaeldred
Copy link
Author

rosonaeldred commented Apr 19, 2023

(Note: it might in fact be empty, i wasn't super picky in my generation)

iteration 0
domain before getting DoE:

type='Domain' input_features=Inputs(type='Inputs', features=[ContinuousInput(type='ContinuousInput', key='x1', unit=None, bounds=(0.22, 0.7)), ContinuousInput(type='ContinuousInput', key='x2', unit=None, bounds=(0.29, 0.9)), ContinuousInput(type='ContinuousInput', key='x3', unit=None, bounds=(0.24, 0.97)), ContinuousInput(type='ContinuousInput', key='x4', unit=None, bounds=(0.29, 0.76)), ContinuousInput(type='ContinuousInput', key='x5', unit=None, bounds=(0.17, 0.97)), ContinuousInput(type='ContinuousInput', key='x6', unit=None, bounds=(0.13, 0.95))]) output_features=Outputs(type='Outputs', features=[ContinuousOutput(type='ContinuousOutput', key='y', objective=MaximizeObjective(type='MaximizeObjective', w=1.0, lower_bound=0, upper_bound=1), unit=None)]) constraints=Constraints(type='Constraints', constraints=[LinearEqualityConstraint(type='LinearEqualityConstraint', features=['x1', 'x2', 'x3', 'x4', 'x5', 'x6'], coefficients=[1.0, 1.0, 1.0, 1.0, 1.0, 1.0], rhs=1.0)])
No feasible point found. Constraint polytope appears empty. Check your constraints.

@Osburg
Copy link
Collaborator

Osburg commented Apr 20, 2023

I think you are right and the problem is that the set of feasible points is empty since even if you are at the lower bound with all variables their sum is 0.22 + 0.29 + 0.24 + 0.29 + 0.17 + 0.13 = 1.34 > 1.

@rosonaeldred
Copy link
Author

Thanks for braining for me. I blocked 0 minimum because i kept getting that, clearly need to adjust that and/or develop a check that the domain 'makes sense' prior to asking for a doe and then react to that.

@DavidWalz
Copy link
Contributor

Hi @rosonaeldred can this issue be closed given there is another ticket #165 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hackathon help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants