QPALM main
Proximal Augmented Lagrangian method for Quadratic Programs
Loading...
Searching...
No Matches
Public Member Functions
qpalm_fiface::qpalm_fortran Interface Reference

Detailed Description

Invoke the QPALM solver.

See also
qpalm_solve

Definition at line 289 of file qpalm_fiface.F90.

+ Collaboration diagram for qpalm_fiface::qpalm_fortran:

Public Member Functions

subroutine qpalm_fortran (n, m, hne, hrow, hptr, hval, g, f, ane, arow, aptr, aval, cl, cu, settings, x, y, info)
 

Constructor & Destructor Documentation

◆ qpalm_fortran()

subroutine qpalm_fiface::qpalm_fortran::qpalm_fortran ( integer ( kind = integer_kind ), intent(in), value  n,
integer ( kind = integer_kind ), intent(in), value  m,
integer ( kind = integer_kind ), intent(in), value  hne,
integer ( kind = integer_kind ), dimension( hne ), intent(in)  hrow,
integer ( kind = integer_kind ), dimension( n + 1 ), intent(in)  hptr,
real ( kind = real_kind ), dimension( hne ), intent(in)  hval,
real ( kind = real_kind ), dimension( n ), intent(in)  g,
real ( kind = real_kind ), intent(in), value  f,
integer ( kind = integer_kind ), intent(in), value  ane,
integer ( kind = integer_kind ), dimension( ane ), intent(in)  arow,
integer ( kind = integer_kind ), dimension( n + 1 ), intent(in)  aptr,
real ( kind = real_kind ), dimension( ane ), intent(in)  aval,
real ( kind = real_kind ), dimension( m ), intent(in)  cl,
real ( kind = real_kind ), dimension( m ), intent(in)  cu,
type ( qpalm_settings ), intent(in), value  settings,
real ( kind = real_kind ), dimension( n ), intent(out)  x,
real ( kind = real_kind ), dimension( m ), intent(out)  y,
type ( qpalm_info ), intent(out)  info 
)
Parameters
[in]nthe number of variables
[in]mthe number of constraints
[in]hnethe number of nonzeros in the upper triangular part of the objective Hessian, H
[in]hrowthe (1-based) row indices of the upper triangular part of H when H is stored by columns. Columns are stored consecutively, with column i directly before column i+1, for i = 1,...,n-1
[in]hptrthe (1-based) pointers to the first entry in each column of the upper triangular part of H, i = 1,...,n, as well as the pointer to one position beyond the last entry, stored in hptr(n+1)
[in]hvalthe values of the nonzeros in the upper triangular part of H, in the same order as the row indices stored in hrow
[in]gthe vector of values of the linear term, g, in the objective
[in]fthe value of the constant term, f, in the objective
[in]anethe number of nonzeros in the constraint Jacobian, A
[in]arowthe (1-based) row indices of the A when A is stored by columns. Columns are stored consecutively, with column i directly before column i+1, for i = 1,...,n-1
[in]aptrthe (1-based) pointers to the first entry in each column of A, i = 1,...,n, as well as the pointer to one position beyond the last entry, stored in aptr(n+1)
[in]avalthe values of the nonzeros in A, in the same order as the row indices stored in arow
[in]clthe vector of lower constraint bounds, cl. An infinite bound should be given a value no larger than - QPALM_INFTY = -10^20
[in]cuthe vector of upper constraint bounds, cu. An infinite bound should be given a value no smaller than QPALM_INFTY = 10^20
[in]settingsparameters that are used to control the optimization. See QPALM_settings above for details
[out]xthe values of the best primal variables, x, on successful termination
[out]ythe values of the best dual variables, y, on successful termination
[out]infooutput information after the optimization. See QPALM_info above for details

Definition at line 289 of file qpalm_fiface.F90.


The documentation for this interface was generated from the following file: