Use SB with SymPy polynomial expression #50
bqth29
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It is now possible to use the Simulated Bifurcation algorithm by defining the polynomial instances directly from SymPy polynomial expression. This makes the call to the functions more user-readable and more mathematical.
Otherwise, it is of course still possible to define the polynomial instances using coefficient tensors. However, the keywords
matrix,vectorandconstantare no longer required. The tensors can simply be passed in an arbitrary order for more liberty in the call to the functions.For example, if you want to solve$\underset{\lbrace0, 1 \rbrace^2}{\hbox{maximize }} x_1^2 - 3x_1x_2 -5x_2^2 + 4x_2 + 7$ you have to strategies:
Beta Was this translation helpful? Give feedback.
All reactions