Danni (Danqing) Zhang

Results 51 comments of Danni (Danqing) Zhang

This is the current code I have, but stuck on the step how to add objectives and constraints of edges through a loop, also posted on another issue but that...

when I just have the node_id, I do not know how to get node variables to use them in edge objectives and edge constraints. That is exactly my question.

My above code obviously has error since node_ids are just integer than a class.

Look foward to something like below code: ``` Python def laplace_reg(src, dst, data): return (L*norm(src['x'] - dst['x']), []) gvx.AddEdgeObjectives(laplace_reg) ```

I have got another implementation, but again...I have to force W on all nodes equal, so I still have the above problem for adding constraints that "W" on all nodes...

Even for my current running code, that I only force "W" on connected edges equal, it seems to takes a very very long time each iteration(almost 30 minutes for 2...

I will first try this "dummy node" method, and I will report it here if it is still too slow.

I takes around 2 hours to finish running my current code. And well I guess the constraints are not perfectly met for ADMM? ``` Python for ni in gvx3.Nodes(): n_id=ni.GetId()...

umm, how to say. What I am intending to do is that : I have both global variables and local variables at the node objectives. I understand I can make...

I will first try this method out and report it later! :)