Open
Description
I have a decision variable that is shared among all all nodes. like below code:
W = Variable(3,name='W')
for i in range(500):
b = Variable(1,name='b')
# obj = logistic(-y[i]*x.T*A[i,:])
obj = logistic(A[i,:].T*W+b-y[i])
gvx.SetNodeObjective(i, Objective=obj)
Then I gave got a error concerning shared variables.
Exception: Objective at NId 1 shares a variable.
wondering how snapvx handle this shared variables problem. Thanks!
Metadata
Metadata
Assignees
Labels
No labels