You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened? This could be a description, log output, etc.
ana39/lib/python3.9/site-packages/nevergrad/optimization/base.py:146: InefficientSettingsWarning: num_workers = 10 > 1 is suboptimal when run sequentially
warnings.warn(msg, e)
Traceback (most recent call last):
File "/home/xxx/sich/examples/powersystem.py", line 43, in
optimizer.minimize(power_system_loss)
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/optimization/base.py", line 641, in minimize
result = job.result()
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/optimization/utils.py", line 137, in result
self._result = self.func(*self.args, **self.kwargs)
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/functions/base.py", line 119, in call
return self.function(*args, **kwargs)
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/functions/powersystems/core.py", line 129, in _simulate_power_system
agent.set_parameters(array)
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/functions/powersystems/core.py", line 37, in set_parameters
raise ValueError(f"length = {weights.size} instead of {self.dimension}: {weights}.")
ValueError: length = 7560 instead of 1260: [-0.73698052 1.41931025 1.34390607 ... -0.79129847 -0.77101758
-0.6903909 ].
Expected Results
What did you expect to happen?
Expected "optimizer.minimize(power_system_loss)" to perform some optimization and
"power_system_loss.make_plots" to show some plots.
As it is the one and only nevergrad example the observed result is a bit disappointing.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Observed Results
ana39/lib/python3.9/site-packages/nevergrad/optimization/base.py:146: InefficientSettingsWarning: num_workers = 10 > 1 is suboptimal when run sequentially
warnings.warn(msg, e)
Traceback (most recent call last):
File "/home/xxx/sich/examples/powersystem.py", line 43, in
optimizer.minimize(power_system_loss)
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/optimization/base.py", line 641, in minimize
result = job.result()
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/optimization/utils.py", line 137, in result
self._result = self.func(*self.args, **self.kwargs)
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/functions/base.py", line 119, in call
return self.function(*args, **kwargs)
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/functions/powersystems/core.py", line 129, in _simulate_power_system
agent.set_parameters(array)
File "/home/xxx/ana39/lib/python3.9/site-packages/nevergrad/functions/powersystems/core.py", line 37, in set_parameters
raise ValueError(f"length = {weights.size} instead of {self.dimension}: {weights}.")
ValueError: length = 7560 instead of 1260: [-0.73698052 1.41931025 1.34390607 ... -0.79129847 -0.77101758
-0.6903909 ].
Expected Results
Expected "optimizer.minimize(power_system_loss)" to perform some optimization and
"power_system_loss.make_plots" to show some plots.
As it is the one and only nevergrad example the observed result is a bit disappointing.
The text was updated successfully, but these errors were encountered: