Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Optimization terminates earlier than max_iter #359

Open
takagi-ya opened this issue Jun 19, 2022 · 1 comment
Open

Optimization terminates earlier than max_iter #359

takagi-ya opened this issue Jun 19, 2022 · 1 comment

Comments

@takagi-ya
Copy link

I often see that optimization terminates earlier than max_iter.
I set the option of 'de_duplication' to "False" and eps to zero (or a negative value), so I do not think the consecutive occurrence of the same values of x is the reason.

I would appreciate it if someone could tell me what is causing this problem and how to solve it.

@KFCxMcDonalds
Copy link

KFCxMcDonalds commented Sep 13, 2022

Reading the code, there're two conditions can lead to the end of optimization procedure:

  • one of them are self._distance_last_evaluations() <= self.eps(what you mentioned)
  • and another is np.linalg.linalg.LinAlgError. In my opinion, the error occurs due to "matrix is irreversible", $k^{-1}$ is a computational part of GP(gaussian process, surrogate model of BO).

I think maybe your program terminates for the second reason, if so, you should check your problem setup or kernel design.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants