Uses either an interior point algorithm or an active set algorithm to solve the problem: minimize 0.5x*Q*x + c*x, such that A*x=b and Imin are less than or equal to D*x, which is less than or equal to Imax. You must manually select the polymorphic instance to use.


icon

Inputs/Outputs

  • c1ddbl.png start

    start is a point in n dimension at which the optimization process starts.

  • ccclst.png objective function

    objective function contains the coefficients of the quadratic and linear terms of the formula you want to minimize.

  • c2ddbl.png Q

    Q is the quadratic term, in the form of a matrix, of the objective function.

  • c1ddbl.png c

    c is the linear term, in the form of a vector, of the objective function.

  • ccclst.png parameter bounds

    parameter bounds contains the minimum and maximum values the parameters (x) can take.

  • c1ddbl.png Xmin

    xmin is the minimum value the parameters can accept.

  • c1ddbl.png Xmax

    xmax is the maximum value the parameters can accept.

  • ccclst.png equality constraints

    equality constraints defines the linear matrix equality constraint Ax=b.

  • c2ddbl.png A

    A is the matrix term of the linear equality constraint equation.

  • c1ddbl.png b

    b is the vector term of the linear equality constraint equation.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ccclst.png inequality constraints

    inequality constraints contains the linear matrix inequality bounds Imin<Dx<Imax.

  • c2ddbl.png D

    D is the matrix term of the linear inequality constraint expression.

  • c1ddbl.png Imin

    Imin is the minimum value that the linear inequality constraint expression can accept.

  • c1ddbl.png Imax

    Imax is the maximum value that the linear inequality constraint expression can accept.

  • cnclst.png stopping criteria

    stopping criteria is the collection of conditions that terminate the optimization. If (function tolerance AND parameter tolerance AND gradient tolerance) OR max iterations OR max function calls then optimization terminates.

  • cdbl.png function tolerance

    function tolerance is the relative change in function value and is defined as abs(current f – prev f)/(abs(curr f)+machine eps). If the relative change in the function value falls below function tolerance, the optimization terminates.

  • cdbl.png parameter tolerance

    parameter tolerance is the relative change in parameter values and is defined as abs(current p – prev p)/(abs(curr p)+machine eps). If the relative change of all the parameter values falls below parameters tolerance, the optimization terminates.

  • ci32.png max iterations

    max iterations is the largest number of iterations of the major loop of the optimization. If the number of major loop iterations exceeds max iterations, the optimization terminates.

  • ci32.png max function calls

    max function calls is the largest number of objective function calls allowed before terminating the optimization process.

  • cdbl.png gradient tolerance

    gradient tolerance is the 2–norm of the gradient. If the 2–norm of the gradient falls below gradient tolerance, the optimization terminates.

  • cdbl.png max time (sec)

    max time (sec) is the maximum amount of time LabVIEW allows between the start and the end of the optimization process. The default is –1. –1 indicates never to time out.

  • i1ddbl.png minimum

    minimum is the set of values that minimizes the quadratic objective function while satisfying the bounds and constraints.

  • idbl.png f(minimum)

    f(minimum) is the value of the quadratic objective function 0.5x^TQx + cx at minimum.

  • i1ddbl.png lagrangian multipliers

    lagrangian multipliers are the coefficients of the lagrangian function that corresponds to the equality and inequality constraints. If there are three equality constraints and two inequality constraints, the first three Lagrangian multipliers correspond to the equality constraints, and the last two Lagrangian multipliers correspond to the inequality constraints.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.