Replies: 1 comment 3 replies
-
There is no straightforward way to do so, as the optimization interface was not designed for the possibility of the user suggesting points. (Although this has been asked other times, so it would be a great feature to introduce.) I think that the easiest way to do something along those lines would be the following: Run the algorithm for some number n of iterations (for example, for 2-3 optimization cycles, see the cycle length). Edit: |
Beta Was this translation helpful? Give feedback.
-
I have an optimization problem with some dependencies between variables, such as "x[3]==0 implies x[4]..x[8]==0". Actually, the problem is such that i allows the higher x's to be positive, but then they only increase the 'cost', so the solver should be able to press them to zero - yet rbfopt needs many iterations to do so, possibly because the higher x's can be "useful" if x[3] is positive.
What I would like is to have a possibility to suggest a new evaluation points during the runtime of the solver. For example, in the objective function, if I see that x[3]==0 and the higher x's are positive, I would like to suggest the solver to check a solution with the same x[0]..x[3] and zero higher x's.
Is there some way of doing this? (I checked the documentation, but did not find any.)
And if not, is there some other way to achieve what I want?
Beta Was this translation helpful? Give feedback.
All reactions