Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n_nodes = 6;
- n_edges = 7;
- e = zeros(n_nodes,1);
- e(1) = 1;
- e(n_nodes) = -1;
- A = [1 1 1 0 0 0 0;
- -1 0 0 1 0 0 0;
- 0 0 -1 0 1 0 0;
- 0 0 0 -1 0 1 0;
- 0 0 0 0 -1 0 1;
- 0 -1 0 0 0 -1 -1];
- d = [3 2 4 4 1 1 3]';
Add Comment
Please, Sign In to add comment