Kind of hard to say what the problem is without knowing the declaration of variables.
Ancient Dragon
Achieved Level 70
32,158 posts since Aug 2005
Reputation Points: 5,836
Solved Threads: 2,577
Skill Endorsements: 69
error C2676: binary '+=' : 'IloNumVar' does not define this operator
Whatever IloNumVar is, you cannot do a +=. It's obviously not an integer.
WaltP
Posting Sage w/ dash of thyme
11,404 posts since May 2006
Reputation Points: 3,421
Solved Threads: 1,055
Skill Endorsements: 37