Algebraic Form of Input for the GlobalOptimization Package - Global Optimization Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Toolboxes : Global Optimization : General information : GlobalOptimization/General/AlgebraicForm

Algebraic Form of Input for the GlobalOptimization Package


This help page describes the algebraic form of input for commands in the GlobalOptimization package.  For general information on the input forms accepted by the GlobalOptimization package commands, see the GlobalOptimization/InputForms help page.   For more information about options mentioned below, see the Optimization/Options help page.

Objective Function


The objective function must be an algebraic expression in the problem variables, for example, ⅇtanx and x2+y23x+3y+3.  The problem variables are the indeterminates in the objective function and, if provided, the constraints.  They can also be specified using the variables option.



The constraints must be a set or list of relations.  Only relations of type <= and = are allowed.  An example is w&equals;1&comma;2y2&plus;z&comma;x5.



Specify the bounds as a sequence of arguments of the form vname = vrange, where vname is the name of a problem variable and vrange is its range, for example, y=-1..2. There must be exactly one bound argument for each problem variable. The endpoints of each range must evaluate to finite numeric values.


Because finite bounds are required, the assume = nonnegative option, available in the Optimization package, is not accepted by GlobalOptimization commands.

Initial Values


Specify the initial values using the option initialpoint = p, where p is a set or list of equalities of the form varname=value. Each varname is one of the problem variables and value is the value to which it is initially set.  An example is initialpoint={x=-1.2, y=5.7}.



Maple returns the solution as a list containing the final minimum (or maximum) value and a point (the computed extremum).  The point is a list containing elements of the form varname&equals;value, where varname is a problem variable and value is its value.



Solve a minimization problem in two variables, x and y.




Solve a minimization problem in three variables, x, y, and z.




See Also

GlobalOptimization, GlobalOptimization/InputForms, GlobalOptimization/Options, GlobalOptimization[GlobalSolve], Optimization

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam