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

SDOE NUSF Bug When Design Size Equals Candidate Set Size #1240

Closed
bpaul4 opened this issue Sep 24, 2024 · 0 comments · Fixed by #1244
Closed

SDOE NUSF Bug When Design Size Equals Candidate Set Size #1240

bpaul4 opened this issue Sep 24, 2024 · 0 comments · Fixed by #1244
Assignees
Labels
Priority:Normal Normal Priority Issue or PR

Comments

@bpaul4
Copy link
Contributor

bpaul4 commented Sep 24, 2024

To reproduce the issue:

  1. In the SDOE toolbox, load the data file with columns (Label, X1, X2, Values). Our file had only 12 points, which is much smaller than surf1candidates from the tutorial.
  2. Set the Design Construction to Non-Uniform Space Filling and open the SDOE dialog.
  3. Uncheck __id and set Label to Index. Set Values to Weights.
  4. (RAN CORRECTLY) Set the Design Size to a number smaller than the number of candidate points, for us design size = 11 ran with no issues.
  5. (THROWS ERROR) Set the Design Size to the dataset size (design size = 12 for us), fails on line 406 in nusf.py with "local variable best_mdpts referenced before assignment".
@ksbeattie ksbeattie added the Priority:Normal Normal Priority Issue or PR label Sep 24, 2024
@sotorrio1 sotorrio1 linked a pull request Sep 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants