FUNCTION REFERENCE
fgoalattain
Solve a multiobjective goal attainment problem.
Solve a multiobjective goal attainment problem.
Syntax
[x, fval, attainfactor, exitflag, output] = fgoalattain(fun, x0, goal, weight, A, b, Aeq, beq, lb, ub, nonlcon, options)Minimizes gamma subject to F_i(x) - weight_i*gamma <= goal_i and the fmincon
constraints (Gembicki 1974, goal attainment). goal and weight have one entry
per objective; weight 0 makes that goal a hard constraint, at least one weight
must be nonzero. attainfactor is gamma at x: negative means the goals are
over-attained. Arguments after weight can be omitted or given as [].
Algorithm: gamma is an extra variable and the problem is solved by the
fmincon SQP method (Nocedal & Wright 2006, ch. 18). Derivatives use forward
finite differences. Options, defaults and exitflags follow fminimax.
Differences from MATLAB: iterates and exitflags 4 and 5 differ (different
internals); there is no lambda output and no GoalsExactAchieve option.
Example
[x,fval,g]=fgoalattain(@(x)[(x-1)^2;(x-3)^2],0,[0;0],[1;3])These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.