- 05/02/12 11:13:35 (4 years ago)
- 1 edited
r5744 r5745 692 692 attempts to maximize or minimize. The +Objective+ function in Pyomo declares 693 693 an objective. Although other mechanisms are possible, this function is typically 694 passed the name of a another function that gives the expression. 694 passed the name of another function that gives the expression. 695 695 Here is a very simple version of such a function that assumes +model.x+ has 696 696 previously been declared as a +Var+:
Note: See TracChangeset for help on using the changeset viewer.