After the initialization function
handle_init has been called,
handle_set_linconstr may be used to define the linear constraints
of the problem unless the linear constraints have already been defined. This will typically be used for problems, such as linear programming (LP)
quadratic programming (QP)
nonlinear programming (NLP)
or linear semidefinite programming (SDP)
where
is the number of decision variables,
is a general
rectangular matrix and
and
are
-dimensional vectors. Note that upper and lower bounds are specified for all the constraints. This form allows full generality in specifying various types of constraint. In particular, the
th constraint may be defined as an equality by setting
. If certain bounds are not present, the associated elements of
or
may be set to special values that are treated as
or
. See the description of the optional parameter
Infinite Bound Size which is common among all solvers in the suite. Its value is denoted as
further in this text. Note that the bounds are interpreted based on its value at the time of calling this function and any later alterations to
Infinite Bound Size will not affect these constraints.
See
Section 3.1 in the
E04 Chapter Introduction for more details about the NAG optimization modelling suite.
None.
All errors and warnings have an associated numeric error code field,
errorid, stored either as a member of the thrown exception object (see
errorid), or as a member of
opt.
ifail, depending on how errors
and warnings are being handled (see
Error Handling for more details).
Not applicable.
Please see the description for the underlying computational routine in this section of the
FL Interface documentation.
None.
Examples of the use of this method may be found in the examples for:
handle_solve_lp_ipm,
handle_set_group and
handle_solve_ipopt.