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

TSEMO error #147

Closed
AFilipaAlmeida opened this issue Jun 15, 2021 · 3 comments
Closed

TSEMO error #147

AFilipaAlmeida opened this issue Jun 15, 2021 · 3 comments

Comments

@AFilipaAlmeida
Copy link

  • Operating System: Windows 10
  • Python version: Python 3.7.10 through anaconda
  • summit version used: 0.8.0rc1

Description

I'm trying to optimize a chemical rection with 8 inputs and 9 objectives through the TSEMO strategy. However when I use the runner to run closed loop optimisation obtained an error.

image

or when I applied the transform the issue I got was
image

Do you know how i can solve this issue? Thank you very much

@marcosfelt
Copy link
Member

As a quick check, can you try generating 7,8 and 9 points using LHS, running them and then passing those to TSEMO? I am wondering if this has to do with the hypervolume calculation requiring a certain number of initial points, but I'm not sure.

from summit import *

n_points = 9  # change this to 7, 8 or 9
lhs = LHS(emul.domain)
conditions = lhs.suggest_experiments(n_points)
results = emul.run_experiments(conditions)

tsemo = TSEMO(emul.domain)
tsemo.suggest_experiments(conditions, prev_res=results)

@AFilipaAlmeida
Copy link
Author

New issues:
with n_point=7
image

with n_point=8 or 9 (the result was the same)
image

@marcosfelt
Copy link
Member

Sorry about that, I wrote the code incorrectly

from summit import *

n_points = 9  # change this to 7, 8 or 9
lhs = LHS(emul.domain)
conditions = lhs.suggest_experiments(n_points)
results = emul.run_experiments(conditions)

tsemo = TSEMO(emul.domain)
tsemo.suggest_experiments(1, prev_res=results)

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

2 participants