Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

?trnlspbc_check

Checks the correctness of handle and arrays containing Jacobian matrix, objective function, lower and upper bounds, and stopping criteria.

Syntax

res
=
strnlspbc_check
(
handle
,
n
,
m
,
fjac
,
fvec
,
LW
,
UP
,
eps
,
info
)
res
=
dtrnlspbc_check
(
handle
,
n
,
m
,
fjac
,
fvec
,
LW
,
UP
,
eps
,
info
)
Include Files
  • Fortran:
    mkl_rci.fi
    ,
    mkl_rci.f90
Description
The
?trnlspbc_check
routine checks the arrays passed into the solver as input parameters. If an array contains any
INF
or
NaN
values, the routine sets the flag in output array
info
(see the description of the values returned in the Output Parameters section for the
info
array)
.
Input Parameters
handle
Type
INTEGER*8
.
n
INTEGER
.
Length of
x
.
m
INTEGER
.
Length of
F
(
x
).
fjac
REAL
for
strnlspbc_check
DOUBLE PRECISION
for
dtrnlspbc_check
Array of size
m
by
n
. Contains the Jacobian matrix of the function.
fvec
REAL
for
strnlspbc_check
DOUBLE PRECISION
for
dtrnlspbc_check
Array of size
m
. Contains the function values at
X
, where
fvec
(
i
)
= (
y
i
f
i
(
x
))
.
LW
REAL
for
strnlspbc_check
DOUBLE PRECISION
for
dtrnlspbc_check
Array of size
n
.
Contains low bounds for
x
(
lw
i
<
x
i
).
UP
REAL
for
strnlspbc_check
DOUBLE PRECISION
for
dtrnlspbc_check
Array of size
n
.
Contains upper bounds for
x
(
up
i
>
x
i
).
eps
REAL
for
strnlspbc_check
DOUBLE PRECISION
for
dtrnlspbc_check
Array of size 6; contains stopping criteria.
See the values in the Description section of the
?trnlspbc_init
.
Output Parameters
info
INTEGER
Array of size 6.
Results of input parameter checking:
Parameter
Used for
Value
Description