Namespace: DotNumerics.Optimization.LBFGSBAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Run(
int N,
ref int NFREE,
ref int[] INDEX,
int offset_index,
ref int NENTER,
ref int ILEAVE,
ref int[] INDX2,
int offset_indx2,
int[] IWHERE,
int offset_iwhere,
ref bool WRK,
bool UPDATD,
bool CNSTND,
int IPRINT,
int ITER
)
Public Sub Run (
N As Integer,
ByRef NFREE As Integer,
ByRef INDEX As Integer(),
offset_index As Integer,
ByRef NENTER As Integer,
ByRef ILEAVE As Integer,
ByRef INDX2 As Integer(),
offset_indx2 As Integer,
IWHERE As Integer(),
offset_iwhere As Integer,
ByRef WRK As Boolean,
UPDATD As Boolean,
CNSTND As Boolean,
IPRINT As Integer,
ITER As Integer
)
Request Example
View SourceParameters
- N Int32
-
- NFREE Int32
-
- INDEX Int32
-
is an integer array of dimension n
for i=1,...,nfree, index(i) are the indices of free variables
for i=nfree+1,...,n, index(i) are the indices of bound variables
On entry after the first iteration, index gives
the free variables at the previous iteration.
On exit it gives the free variables based on the determination
in cauchy using the array iwhere.
- offset_index Int32
-
- NENTER Int32
-
- ILEAVE Int32
-
- INDX2 Int32
-
is an integer array of dimension n
On entry indx2 is unspecified.
On exit with iter.GT.0, indx2 indicates which variables
have changed status since the previous iteration.
For i= 1,...,nenter, indx2(i) have changed from bound to free.
For i= ileave+1,...,n, indx2(i) have changed from free to bound.
* * *
- offset_indx2 Int32
-
- IWHERE Int32
-
- offset_iwhere Int32
-
- WRK Boolean
-
- UPDATD Boolean
-
- CNSTND Boolean
-
is a logical variable indicating whether bounds are present
- IPRINT Int32
-
- ITER Int32
-
.GT. 0, and finds the index set of free and active variables
See Also