How to do this problem
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
the string includes 0 and 1:
with 2 conditions:the nodes can be in four directions in a matrix & the edges connect 2 nodes dont cut each other & nodes(0&1) dont put on each other. The value of optimization calculate with couple nodes and the distance between 2 couple nodes is 1. I want to generate this string for example for string s1 =

and its graph is= red nodes show 1 , black nodes show 0 and blue lines show couple nodes.

Thanks for all answers very much...
0 件のコメント
回答 (1 件)
Alan Weiss
2014 年 10 月 22 日
0 投票
I'm sorry, but I don't understand what you are asking. Nevertheless, I have the feeling that you might want to look at the Optimization Toolbox mixed integer linear programming solver intlinprog.
Alan Weiss
MATLAB mathematical toolbox documentation
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!