-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the weight in the graph #102
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can erase this
Qamomile/docs/tutorial/maxcut.ipynb
Line 135 in 1d56854
" \\min \\quad -\\frac{1}{2} \\sum_{(i,j) \\in E} w_{i,j}(s_i s_j - 1) \n", |
Moreover, you can change the problem as maximization for explanation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change explanation a little bit?
@@ -132,7 +132,7 @@ | |||
"The Max-Cut problem can be formulated with the following equation:\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the jm.Problem
is correct, however, this formula in LaTex is incorrect.
I think this should be max.
Change
Desciption
This PR addresses issue #101:
nx.to_numpy_array(G, nodelist=list(range(num_nodes)))
instead ofnx.to_numpy_array(G)
.