// tell that to the optimizer.
// Here we pass a dictionary with target values as keys of another
// dictionary with parameters names and their corresponding value.
bo.initialize({-2: {"x": 1, "y": 0}, -1.251: {"x": 1, "y": 1.5}})
// Once we are satisfied with the initialization conditions
// we let the algorithm do its magic by calling the maximize()
// method.
After Change
// Here we pass a dictionary with target values as keys of another
// dictionary with parameters names and their corresponding value.
bo.initialize(
{
"target": [-1, -1],
"x": [1, 1],
"y": [0, 2]
}
)
// Once we are satisfied with the initialization conditions
// we let the algorithm do its magic by calling the maximize()