Eric-Bradford / TS-EMO

This repository contains the source code for “Thompson sampling efficient multiobjective optimization” (TSEMO).
BSD 2-Clause "Simplified" License
93 stars 16 forks source link

Problem when launching TSEMO_Example #4

Closed Theo3199 closed 4 years ago

Theo3199 commented 4 years ago

" Unable to perform assignment because the size of the left side is 1-by-3 and the size of the right side is 1-by-2

Error in TSEMO_Example (line 25) Y(k,:) = f(X(k,:)); % calculation of response data

"

Eric-Bradford commented 4 years ago

Thanks for your comment. I was running an example with 3 outputs and forgot to change it back. Either download TSEMO_Example again or change "no_outputs" in line 14 to 2, since "vlmop2" has 2 objectives.