Skip to content
Discussion options

You must be logged in to vote

Thanks for raising this issue and for the clear description!

This behavior is expected. The order of self.idx_params is critical because BioMASS uses enumerate(self.idx_params) when constructing search bounds. For example:

for i, j in enumerate(self.idx_params):
    search_rgn[0, j] = search_param[i] * 0.1  # lower bound
    search_rgn[1, j] = search_param[i] * 10.0  # upper bound

Here, the index i (from enumeration) must match the position of the corresponding parameter value in search_param. If you change the order of self.idx_params, you effectively change which parameter each value in search_param is mapped to, which explains the different results you observed in get_obj_val.

To avoid…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@himoto
Comment options

Answer selected by SHMAKI
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants