|
@@ -49,7 +49,7 @@ int main()
|
|
|
|
|
|
IloRange sum_to_one( env, 1, 1 );
|
|
IloRange sum_to_one( env, 1, 1 );
|
|
IloObjective obj = IloMaximize( env, 0 );
|
|
IloObjective obj = IloMaximize( env, 0 );
|
|
-
|
|
|
|
|
|
+ //test änderung
|
|
sum_to_one.setLinearCoef( x1, 1 );
|
|
sum_to_one.setLinearCoef( x1, 1 );
|
|
sum_to_one.setLinearCoef( x2, 1 );
|
|
sum_to_one.setLinearCoef( x2, 1 );
|
|
obj.setLinearCoef( x1, 2 );
|
|
obj.setLinearCoef( x1, 2 );
|