# Changeset 9488

Ignore:
Timestamp:
Dec 14, 2014 5:39:50 PM (4 years ago)
Message:

Changing problem sense to match the bilevel test problems.
Updating baselines

Location:
pyomo/trunk
Files:
6 edited

Unmodified
Removed
• ## pyomo/trunk/examples/core/t1.py

 r9480 model.x3 = Var(within=NonNegativeReals) model.o = Objective(expr=6*model.x1 + 4*model.x2 + 2*model.x3, sense=maximize) model.o = Objective(expr=6*model.x1 + 4*model.x2 + 2*model.x3, sense=minimize) model.c1 = Constraint(expr=4*model.x1 + 2*model.x2 + model.x3 >= 5)
• ## pyomo/trunk/examples/core/t5.py

 r9480 model.x1 = Var(within=NonNegativeReals) model.x2 = Var(within=NonNegativeReals) model.o = Objective(expr=3*model.x1 + 2.5*model.x2, sense=minimize) model.o = Objective(expr=3*model.x1 + 2.5*model.x2, sense=maximize) model.c1 = Constraint(expr=4.44*model.x1 <= 100)
• ## pyomo/trunk/pyomo/core/tests/transform/t1.txt

 r9479 "Problem": [ { "Lower bound": -Infinity, "Lower bound": 14.0, "Name": "unknown", "Number of constraints": 4, "Number of objectives": 1, "Number of variables": 4, "Sense": "maximize", "Upper bound": Infinity "Sense": "minimize", "Upper bound": 14.0 } ], "Solution": [ { "number of solutions": 1, "number of solutions displayed": 1 }, { "Constraint": "No nonzero values", "Gap": 0.0, "Objective": { "o": { "Id": 0, "Value": 14.0 } }, "Status": "feasible", "Variable": { "x2": { "Id": 1, "Value": 3.0 }, "x3": { "Id": 2, "Value": 1.0 } } } ], }, "Status": "ok", "Termination condition": "other" "Termination condition": "optimal" } ]
• ## pyomo/trunk/pyomo/core/tests/transform/t1_linear_dual.lp

 r9486 \* Source Pyomo model name=unknown *\ min max o: -5 c1 -3 c2 -4 c3 +5 c1 +3 c2 +4 c3 s.t. +4 c1 +1 c2 <= -6 <= 6 c_u_x2_: +1 c2 +1 c3 <= -4 <= 4 c_u_x3_: +1 c1 +1 c3 <= -2 <= 2 c_e_ONE_VAR_CONSTANT:
• ## pyomo/trunk/pyomo/core/tests/transform/t5.txt

 r9479 "Problem": [ { "Lower bound": 0.0, "Lower bound": 77.3022049286641, "Name": "unknown", "Number of constraints": 5, "Number of objectives": 1, "Number of variables": 3, "Sense": "minimize", "Upper bound": 0.0 "Sense": "maximize", "Upper bound": 77.3022049286641 } ], "Constraint": "No nonzero values", "Gap": 0.0, "Objective": {}, "Objective": { "o": { "Id": 0, "Value": 77.3022049286641 } }, "Status": "feasible", "Variable": {} "Variable": { "x1": { "Id": 0, "Value": 20.3631647211414 }, "x2": { "Id": 1, "Value": 6.48508430609598 } } } ],
• ## pyomo/trunk/pyomo/core/tests/transform/t5_linear_dual.lp

 r9486 \* Source Pyomo model name=unknown *\ max min o: +100 c1 +100 c2 +100 c3 +100 c4 -100 c1 -100 c2 -100 c3 -100 c4 s.t. +4 c3 +3 c4 <= 3 <= -3 c_u_x2_: +2.8599999999999999 c3 +6 c4 <= 2.5 <= -2.5 c_e_ONE_VAR_CONSTANT:
Note: See TracChangeset for help on using the changeset viewer.