Ipopt Documentation  
 
Loading...
Searching...
No Matches
HSLLoader.h File Reference
#include "IpoptConfig.h"

Go to the source code of this file.

Macros

#define ma77_control   ma77_control_d
 
#define ma77_info   ma77_info_d
 
#define ma77_default_control   ma77_default_control_d
 
#define ma77_open_nelt   ma77_open_nelt_d
 
#define ma77_open   ma77_open_d
 
#define ma77_input_vars   ma77_input_vars_d
 
#define ma77_input_reals   ma77_input_reals_d
 
#define ma77_analyse   ma77_analyse_d
 
#define ma77_factor   ma77_factor_d
 
#define ma77_factor_solve   ma77_factor_solve_d
 
#define ma77_solve   ma77_solve_d
 
#define ma77_resid   ma77_resid_d
 
#define ma77_scale   ma77_scale_d
 
#define ma77_enquire_posdef   ma77_enquire_posdef_d
 
#define ma77_enquire_indef   ma77_enquire_indef_d
 
#define ma77_alter   ma77_alter_d
 
#define ma77_restart   ma77_restart_d
 
#define ma77_finalise   ma77_finalise_d
 
#define ma86_control   ma86_control_d
 
#define ma86_info   ma86_info_d
 
#define ma86_default_control   ma86_default_control_d
 
#define ma86_analyse   ma86_analyse_d
 
#define ma86_factor   ma86_factor_d
 
#define ma86_factor_solve   ma86_factor_solve_d
 
#define ma86_solve   ma86_solve_d
 
#define ma86_finalise   ma86_finalise_d
 
#define ma97_control   ma97_control_d
 
#define ma97_info   ma97_info_d
 
#define ma97_default_control   ma97_default_control_d
 
#define ma97_analyse   ma97_analyse_d
 
#define ma97_factor   ma97_factor_d
 
#define ma97_factor_solve   ma97_factor_solve_d
 
#define ma97_solve   ma97_solve_d
 
#define ma97_finalise   ma97_finalise_d
 
#define ma97_free_akeep   ma97_free_akeep_d
 

Typedefs

typedef double ma77pkgtype_d_
 
typedef double ma86pkgtype_d_
 
typedef double ma86realtype_d_
 
typedef double ma97pkgtype_d_
 
typedef double ma97realtype_d_
 
typedef IPOPT_FORTRAN_INTEGER_TYPE ipfint
 
typedef void(* ma27ad_t) (ipfint *N, ipfint *NZ, const ipfint *IRN, const ipfint *ICN, ipfint *IW, ipfint *LIW, ipfint *IKEEP, ipfint *IW1, ipfint *NSTEPS, ipfint *IFLAG, ipfint *ICNTL, double *CNTL, ipfint *INFO, double *OPS)
 
typedef void(* ma27bd_t) (ipfint *N, ipfint *NZ, const ipfint *IRN, const ipfint *ICN, double *A, ipfint *LA, ipfint *IW, ipfint *LIW, ipfint *IKEEP, ipfint *NSTEPS, ipfint *MAXFRT, ipfint *IW1, ipfint *ICNTL, double *CNTL, ipfint *INFO)
 
typedef void(* ma27cd_t) (ipfint *N, double *A, ipfint *LA, ipfint *IW, ipfint *LIW, double *W, ipfint *MAXFRT, double *RHS, ipfint *IW1, ipfint *NSTEPS, ipfint *ICNTL, double *CNTL)
 
typedef void(* ma27id_t) (ipfint *ICNTL, double *CNTL)
 
typedef void(* ma57ad_t) (ipfint *n, ipfint *ne, const ipfint *irn, const ipfint *jcn, ipfint *lkeep, ipfint *keep, ipfint *iwork, ipfint *icntl, ipfint *info, double *rinfo)
 
typedef void(* ma57bd_t) (ipfint *n, ipfint *ne, double *a, double *fact, ipfint *lfact, ipfint *ifact, ipfint *lifact, ipfint *lkeep, ipfint *keep, ipfint *iwork, ipfint *icntl, double *cntl, ipfint *info, double *rinfo)
 
typedef void(* ma57cd_t) (ipfint *job, ipfint *n, double *fact, ipfint *lfact, ipfint *ifact, ipfint *lifact, ipfint *nrhs, double *rhs, ipfint *lrhs, double *work, ipfint *lwork, ipfint *iwork, ipfint *icntl, ipfint *info)
 
typedef void(* ma57ed_t) (ipfint *n, ipfint *ic, ipfint *keep, double *fact, ipfint *lfact, double *newfac, ipfint *lnew, ipfint *ifact, ipfint *lifact, ipfint *newifc, ipfint *linew, ipfint *info)
 
typedef void(* ma57id_t) (double *cntl, ipfint *icntl)
 
typedef void(* ma77_default_control_t) (struct ma77_control_d *control)
 
typedef void(* ma77_open_nelt_t) (const int n, const char *fname1, const char *fname2, const char *fname3, const char *fname4, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, const int nelt)
 
typedef void(* ma77_open_t) (const int n, const char *fname1, const char *fname2, const char *fname3, const char *fname4, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma77_input_vars_t) (const int idx, const int nvar, const int list[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma77_input_reals_t) (const int idx, const int length, const double reals[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma77_analyse_t) (const int order[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma77_factor_t) (const int posdef, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, const double *scale)
 
typedef void(* ma77_factor_solve_t) (const int posdef, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, const double *scale, const int nrhs, const int lx, double rhs[])
 
typedef void(* ma77_solve_t) (const int job, const int nrhs, const int lx, double x[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, const double *scale)
 
typedef void(* ma77_resid_t) (const int nrhs, const int lx, const double x[], const int lresid, double resid[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, double *anorm_bnd)
 
typedef void(* ma77_scale_t) (double scale[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, double *anorm)
 
typedef void(* ma77_enquire_posdef_t) (double d[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma77_enquire_indef_t) (int piv_order[], double d[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma77_alter_t) (const double d[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma77_restart_t) (const char *restart_file, const char *fname1, const char *fname2, const char *fname3, const char *fname4, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma77_finalise_t) (void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)
 
typedef void(* ma86_default_control_t) (struct ma86_control *control)
 
typedef void(* ma86_analyse_t) (const int n, const int ptr[], const int row[], int order[], void **keep, const struct ma86_control *control, struct ma86_info *info)
 
typedef void(* ma86_factor_t) (const int n, const int ptr[], const int row[], const ma86pkgtype_d_ val[], const int order[], void **keep, const struct ma86_control *control, struct ma86_info *info, const ma86pkgtype_d_ scale[])
 
typedef void(* ma86_factor_solve_t) (const int n, const int ptr[], const int row[], const ma86pkgtype_d_ val[], const int order[], void **keep, const struct ma86_control *control, struct ma86_info *info, const int nrhs, const int ldx, ma86pkgtype_d_ x[], const ma86pkgtype_d_ scale[])
 
typedef void(* ma86_solve_t) (const int job, const int nrhs, const int ldx, ma86pkgtype_d_ *x, const int order[], void **keep, const struct ma86_control *control, struct ma86_info *info, const ma86pkgtype_d_ scale[])
 
typedef void(* ma86_finalise_t) (void **keep, const struct ma86_control *control)
 
typedef void(* ma97_default_control_t) (struct ma97_control *control)
 
typedef void(* ma97_analyse_t) (const int check, const int n, const int ptr[], const int row[], ma97pkgtype_d_ val[], void **akeep, const struct ma97_control *control, struct ma97_info *info, int order[])
 
typedef void(* ma97_factor_t) (const int matrix_type, const int ptr[], const int row[], const ma97pkgtype_d_ val[], void **akeep, void **fkeep, const struct ma97_control *control, struct ma97_info *info, const ma97pkgtype_d_ scale[])
 
typedef void(* ma97_factor_solve_t) (const int matrix_type, const int ptr[], const int row[], const ma97pkgtype_d_ val[], const int nrhs, ma97pkgtype_d_ x[], const int ldx, void **akeep, void **fkeep, const struct ma97_control *control, struct ma97_info *info, const ma97pkgtype_d_ scale[])
 
typedef void(* ma97_solve_t) (const int job, const int nrhs, ma97pkgtype_d_ *x, const int ldx, void **akeep, void **fkeep, const struct ma97_control *control, struct ma97_info *info)
 
typedef void(* ma97_finalise_t) (void **akeep, void **fkeep)
 
typedef void(* ma97_free_akeep_t) (void **akeep)
 
typedef void(* mc19ad_t) (ipfint *N, ipfint *NZ, double *A, ipfint *IRN, ipfint *ICN, float *R, float *C, float *W)
 
typedef void(* mc68_default_control_t) (struct mc68_control_i *control)
 
typedef void(* mc68_order_t) (int ord, int n, const int ptr[], const int row[], int perm[], const struct mc68_control_i *control, struct mc68_info_i *info)
 

Functions

IPOPTLIB_EXPORT int LSL_loadHSL (const char *libname, char *msgbuf, int msglen)
 Tries to load a dynamically linked library with HSL routines.
 
IPOPTLIB_EXPORT int LSL_unloadHSL (void)
 Unloads a loaded HSL library.
 
IPOPTLIB_EXPORT int LSL_isHSLLoaded (void)
 Indicates whether a HSL library has been loaded.
 
IPOPTLIB_EXPORT int LSL_isMA27available (void)
 Indicates whether a HSL library is loaded and all symbols necessary to use MA27 have been found.
 
IPOPTLIB_EXPORT int LSL_isMA57available (void)
 Indicates whether a HSL library is loaded and all symbols necessary to use MA57 have been found.
 
IPOPTLIB_EXPORT int LSL_isMA77available (void)
 Indicates whether a HSL library is loaded and all symbols necessary to use MA77 have been found.
 
IPOPTLIB_EXPORT int LSL_isMA86available (void)
 Indicates whether a HSL library is loaded and all symbols necessary to use HSL_MA86 have been found.
 
IPOPTLIB_EXPORT int LSL_isMA97available (void)
 Indicates whether a HSL library is loaded and all symbols necessary to use HSL_MA97 have been found.
 
IPOPTLIB_EXPORT int LSL_isMC19available (void)
 Indicates whether a HSL library is loaded and all symbols necessary to use MA57 have been found.
 
IPOPTLIB_EXPORT int LSL_isMC68available (void)
 Indicates whether a HSL library is loaded and all symbols necessary to use HSL_MC68 have been found.
 
IPOPTLIB_EXPORT char * LSL_HSLLibraryName (void)
 Returns name of the shared library that should contain HSL.
 
IPOPTLIB_EXPORT void LSL_setMA27 (ma27ad_t ma27ad, ma27bd_t ma27bd, ma27cd_t ma27cd, ma27id_t ma27id)
 sets pointers to MA27 functions
 
IPOPTLIB_EXPORT void LSL_setMA57 (ma57ad_t ma57ad, ma57bd_t ma57bd, ma57cd_t ma57cd, ma57ed_t ma57ed, ma57id_t ma57id)
 sets pointers to MA57 functions
 
IPOPTLIB_EXPORT void LSL_setMA77 (ma77_default_control_t ma77_default_control, ma77_open_nelt_t ma77_open_nelt, ma77_open_t ma77_open, ma77_input_vars_t ma77_input_vars, ma77_input_reals_t ma77_input_reals, ma77_analyse_t ma77_analyse, ma77_factor_t ma77_factor, ma77_factor_solve_t ma77_factor_solve, ma77_solve_t ma77_solve, ma77_resid_t ma77_resid, ma77_scale_t ma77_scale, ma77_enquire_posdef_t ma77_enquire_posdef, ma77_enquire_indef_t ma77_enquire_indef, ma77_alter_t ma77_alter, ma77_restart_t ma77_restart, ma77_finalise_t ma77_finalise)
 sets pointers to MA77 functions
 
IPOPTLIB_EXPORT void LSL_setMA86 (ma86_default_control_t ma86_default_control, ma86_analyse_t ma86_analyse, ma86_factor_t ma86_factor, ma86_factor_solve_t ma86_factor_solve, ma86_solve_t ma86_solve, ma86_finalise_t ma86_finalise)
 sets pointers to MA86 functions
 
IPOPTLIB_EXPORT void LSL_setMA97 (ma97_default_control_t ma97_default_control, ma97_analyse_t ma97_analyse, ma97_factor_t ma97_factor, ma97_factor_solve_t ma97_factor_solve, ma97_solve_t ma97_solve, ma97_finalise_t ma97_finalise, ma97_free_akeep_t ma97_free_akeep)
 sets pointers to MA97 functions
 
IPOPTLIB_EXPORT void LSL_setMC19 (mc19ad_t mc19ad)
 sets pointer to MC19 function
 
IPOPTLIB_EXPORT void LSL_setMC68 (mc68_default_control_t mc68_default_control, mc68_order_t mc68_order)
 sets pointers to MC68 functions
 

Macro Definition Documentation

◆ ma77_control

#define ma77_control   ma77_control_d

Definition at line 19 of file HSLLoader.h.

◆ ma77_info

#define ma77_info   ma77_info_d

Definition at line 20 of file HSLLoader.h.

◆ ma77_default_control

#define ma77_default_control   ma77_default_control_d

Definition at line 21 of file HSLLoader.h.

◆ ma77_open_nelt

#define ma77_open_nelt   ma77_open_nelt_d

Definition at line 22 of file HSLLoader.h.

◆ ma77_open

#define ma77_open   ma77_open_d

Definition at line 23 of file HSLLoader.h.

◆ ma77_input_vars

#define ma77_input_vars   ma77_input_vars_d

Definition at line 24 of file HSLLoader.h.

◆ ma77_input_reals

#define ma77_input_reals   ma77_input_reals_d

Definition at line 25 of file HSLLoader.h.

◆ ma77_analyse

#define ma77_analyse   ma77_analyse_d

Definition at line 26 of file HSLLoader.h.

◆ ma77_factor

#define ma77_factor   ma77_factor_d

Definition at line 27 of file HSLLoader.h.

◆ ma77_factor_solve

#define ma77_factor_solve   ma77_factor_solve_d

Definition at line 28 of file HSLLoader.h.

◆ ma77_solve

#define ma77_solve   ma77_solve_d

Definition at line 29 of file HSLLoader.h.

◆ ma77_resid

#define ma77_resid   ma77_resid_d

Definition at line 30 of file HSLLoader.h.

◆ ma77_scale

#define ma77_scale   ma77_scale_d

Definition at line 31 of file HSLLoader.h.

◆ ma77_enquire_posdef

#define ma77_enquire_posdef   ma77_enquire_posdef_d

Definition at line 32 of file HSLLoader.h.

◆ ma77_enquire_indef

#define ma77_enquire_indef   ma77_enquire_indef_d

Definition at line 33 of file HSLLoader.h.

◆ ma77_alter

#define ma77_alter   ma77_alter_d

Definition at line 34 of file HSLLoader.h.

◆ ma77_restart

#define ma77_restart   ma77_restart_d

Definition at line 35 of file HSLLoader.h.

◆ ma77_finalise

#define ma77_finalise   ma77_finalise_d

Definition at line 36 of file HSLLoader.h.

◆ ma86_control

#define ma86_control   ma86_control_d

Definition at line 44 of file HSLLoader.h.

◆ ma86_info

#define ma86_info   ma86_info_d

Definition at line 45 of file HSLLoader.h.

◆ ma86_default_control

#define ma86_default_control   ma86_default_control_d

Definition at line 46 of file HSLLoader.h.

◆ ma86_analyse

#define ma86_analyse   ma86_analyse_d

Definition at line 47 of file HSLLoader.h.

◆ ma86_factor

#define ma86_factor   ma86_factor_d

Definition at line 48 of file HSLLoader.h.

◆ ma86_factor_solve

#define ma86_factor_solve   ma86_factor_solve_d

Definition at line 49 of file HSLLoader.h.

◆ ma86_solve

#define ma86_solve   ma86_solve_d

Definition at line 50 of file HSLLoader.h.

◆ ma86_finalise

#define ma86_finalise   ma86_finalise_d

Definition at line 51 of file HSLLoader.h.

◆ ma97_control

#define ma97_control   ma97_control_d

Definition at line 60 of file HSLLoader.h.

◆ ma97_info

#define ma97_info   ma97_info_d

Definition at line 61 of file HSLLoader.h.

◆ ma97_default_control

#define ma97_default_control   ma97_default_control_d

Definition at line 62 of file HSLLoader.h.

◆ ma97_analyse

#define ma97_analyse   ma97_analyse_d

Definition at line 63 of file HSLLoader.h.

◆ ma97_factor

#define ma97_factor   ma97_factor_d

Definition at line 64 of file HSLLoader.h.

◆ ma97_factor_solve

#define ma97_factor_solve   ma97_factor_solve_d

Definition at line 65 of file HSLLoader.h.

◆ ma97_solve

#define ma97_solve   ma97_solve_d

Definition at line 66 of file HSLLoader.h.

◆ ma97_finalise

#define ma97_finalise   ma97_finalise_d

Definition at line 67 of file HSLLoader.h.

◆ ma97_free_akeep

#define ma97_free_akeep   ma97_free_akeep_d

Definition at line 68 of file HSLLoader.h.

Typedef Documentation

◆ ma77pkgtype_d_

typedef double ma77pkgtype_d_

Definition at line 41 of file HSLLoader.h.

◆ ma86pkgtype_d_

typedef double ma86pkgtype_d_

Definition at line 56 of file HSLLoader.h.

◆ ma86realtype_d_

typedef double ma86realtype_d_

Definition at line 57 of file HSLLoader.h.

◆ ma97pkgtype_d_

typedef double ma97pkgtype_d_

Definition at line 73 of file HSLLoader.h.

◆ ma97realtype_d_

typedef double ma97realtype_d_

Definition at line 74 of file HSLLoader.h.

◆ ipfint

Definition at line 81 of file HSLLoader.h.

◆ ma27ad_t

typedef void(* ma27ad_t) (ipfint *N, ipfint *NZ, const ipfint *IRN, const ipfint *ICN, ipfint *IW, ipfint *LIW, ipfint *IKEEP, ipfint *IW1, ipfint *NSTEPS, ipfint *IFLAG, ipfint *ICNTL, double *CNTL, ipfint *INFO, double *OPS)

Definition at line 84 of file HSLLoader.h.

◆ ma27bd_t

typedef void(* ma27bd_t) (ipfint *N, ipfint *NZ, const ipfint *IRN, const ipfint *ICN, double *A, ipfint *LA, ipfint *IW, ipfint *LIW, ipfint *IKEEP, ipfint *NSTEPS, ipfint *MAXFRT, ipfint *IW1, ipfint *ICNTL, double *CNTL, ipfint *INFO)

Definition at line 101 of file HSLLoader.h.

◆ ma27cd_t

typedef void(* ma27cd_t) (ipfint *N, double *A, ipfint *LA, ipfint *IW, ipfint *LIW, double *W, ipfint *MAXFRT, double *RHS, ipfint *IW1, ipfint *NSTEPS, ipfint *ICNTL, double *CNTL)

Definition at line 119 of file HSLLoader.h.

◆ ma27id_t

typedef void(* ma27id_t) (ipfint *ICNTL, double *CNTL)

Definition at line 134 of file HSLLoader.h.

◆ ma57ad_t

typedef void(* ma57ad_t) (ipfint *n, ipfint *ne, const ipfint *irn, const ipfint *jcn, ipfint *lkeep, ipfint *keep, ipfint *iwork, ipfint *icntl, ipfint *info, double *rinfo)
Parameters
nOrder of matrix.
neNumber of entries.
irnMatrix nonzero row structure
jcnMatrix nonzero column structure
lkeepWorkspace for the pivot order of lenght 3*n
keepWorkspace for the pivot order of lenght 3*n
iworkInteger work space.
icntlInteger Control parameter of length 30
infoStatistical Information; Integer array of length 20
rinfoDouble Control parameter of length 5

Definition at line 139 of file HSLLoader.h.

◆ ma57bd_t

typedef void(* ma57bd_t) (ipfint *n, ipfint *ne, double *a, double *fact, ipfint *lfact, ipfint *ifact, ipfint *lifact, ipfint *lkeep, ipfint *keep, ipfint *iwork, ipfint *icntl, double *cntl, ipfint *info, double *rinfo)
Parameters
nOrder of matrix.
neNumber of entries.
aNumerical values.
factEntries of factors.
lfactLength of array ‘fact’.
ifactIndexing info for factors.
lifactLength of array ‘ifact’.
lkeepLength of array ‘keep’.
keepInteger array.
iworkWorkspace of length ‘n’.
icntlInteger Control parameter of length 20.
cntlDouble Control parameter of length 5.
infoStatistical Information; Integer array of length 40.
rinfoStatistical Information; Real array of length 20.

Definition at line 153 of file HSLLoader.h.

◆ ma57cd_t

typedef void(* ma57cd_t) (ipfint *job, ipfint *n, double *fact, ipfint *lfact, ipfint *ifact, ipfint *lifact, ipfint *nrhs, double *rhs, ipfint *lrhs, double *work, ipfint *lwork, ipfint *iwork, ipfint *icntl, ipfint *info)
Parameters
jobSolution job. Solve for...
nOrder of matrix.
factEntries of factors.
lfactLength of array ‘fact’.
ifactIndexing info for factors.
lifactLength of array ‘ifact’.
nrhsNumber of right hand sides.
rhsNumerical Values.
lrhsLeading dimensions of ‘rhs’.
workReal workspace.
lworkLength of ‘work’, >= N*NRHS.
iworkInteger array of length ‘n’.
icntlInteger Control parameter array of length 20.
infoStatistical Information; Integer array of length 40.

Definition at line 170 of file HSLLoader.h.

◆ ma57ed_t

typedef void(* ma57ed_t) (ipfint *n, ipfint *ic, ipfint *keep, double *fact, ipfint *lfact, double *newfac, ipfint *lnew, ipfint *ifact, ipfint *lifact, ipfint *newifc, ipfint *linew, ipfint *info)
Parameters
ic0: copy real array. >=1: copy integer array.

Definition at line 187 of file HSLLoader.h.

◆ ma57id_t

typedef void(* ma57id_t) (double *cntl, ipfint *icntl)

Definition at line 202 of file HSLLoader.h.

◆ ma77_default_control_t

typedef void(* ma77_default_control_t) (struct ma77_control_d *control)

Definition at line 207 of file HSLLoader.h.

◆ ma77_open_nelt_t

typedef void(* ma77_open_nelt_t) (const int n, const char *fname1, const char *fname2, const char *fname3, const char *fname4, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, const int nelt)

Definition at line 211 of file HSLLoader.h.

◆ ma77_open_t

typedef void(* ma77_open_t) (const int n, const char *fname1, const char *fname2, const char *fname3, const char *fname4, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 223 of file HSLLoader.h.

◆ ma77_input_vars_t

typedef void(* ma77_input_vars_t) (const int idx, const int nvar, const int list[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 234 of file HSLLoader.h.

◆ ma77_input_reals_t

typedef void(* ma77_input_reals_t) (const int idx, const int length, const double reals[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 243 of file HSLLoader.h.

◆ ma77_analyse_t

typedef void(* ma77_analyse_t) (const int order[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 252 of file HSLLoader.h.

◆ ma77_factor_t

typedef void(* ma77_factor_t) (const int posdef, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, const double *scale)

Definition at line 259 of file HSLLoader.h.

◆ ma77_factor_solve_t

typedef void(* ma77_factor_solve_t) (const int posdef, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, const double *scale, const int nrhs, const int lx, double rhs[])

Definition at line 267 of file HSLLoader.h.

◆ ma77_solve_t

typedef void(* ma77_solve_t) (const int job, const int nrhs, const int lx, double x[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, const double *scale)

Definition at line 278 of file HSLLoader.h.

◆ ma77_resid_t

typedef void(* ma77_resid_t) (const int nrhs, const int lx, const double x[], const int lresid, double resid[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, double *anorm_bnd)

Definition at line 289 of file HSLLoader.h.

◆ ma77_scale_t

typedef void(* ma77_scale_t) (double scale[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info, double *anorm)

Definition at line 301 of file HSLLoader.h.

◆ ma77_enquire_posdef_t

typedef void(* ma77_enquire_posdef_t) (double d[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 309 of file HSLLoader.h.

◆ ma77_enquire_indef_t

typedef void(* ma77_enquire_indef_t) (int piv_order[], double d[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 316 of file HSLLoader.h.

◆ ma77_alter_t

typedef void(* ma77_alter_t) (const double d[], void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 324 of file HSLLoader.h.

◆ ma77_restart_t

typedef void(* ma77_restart_t) (const char *restart_file, const char *fname1, const char *fname2, const char *fname3, const char *fname4, void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 331 of file HSLLoader.h.

◆ ma77_finalise_t

typedef void(* ma77_finalise_t) (void **keep, const struct ma77_control_d *control, struct ma77_info_d *info)

Definition at line 342 of file HSLLoader.h.

◆ ma86_default_control_t

typedef void(* ma86_default_control_t) (struct ma86_control *control)

Definition at line 348 of file HSLLoader.h.

◆ ma86_analyse_t

typedef void(* ma86_analyse_t) (const int n, const int ptr[], const int row[], int order[], void **keep, const struct ma86_control *control, struct ma86_info *info)

Definition at line 352 of file HSLLoader.h.

◆ ma86_factor_t

typedef void(* ma86_factor_t) (const int n, const int ptr[], const int row[], const ma86pkgtype_d_ val[], const int order[], void **keep, const struct ma86_control *control, struct ma86_info *info, const ma86pkgtype_d_ scale[])

Definition at line 362 of file HSLLoader.h.

◆ ma86_factor_solve_t

typedef void(* ma86_factor_solve_t) (const int n, const int ptr[], const int row[], const ma86pkgtype_d_ val[], const int order[], void **keep, const struct ma86_control *control, struct ma86_info *info, const int nrhs, const int ldx, ma86pkgtype_d_ x[], const ma86pkgtype_d_ scale[])

Definition at line 374 of file HSLLoader.h.

◆ ma86_solve_t

typedef void(* ma86_solve_t) (const int job, const int nrhs, const int ldx, ma86pkgtype_d_ *x, const int order[], void **keep, const struct ma86_control *control, struct ma86_info *info, const ma86pkgtype_d_ scale[])

Definition at line 389 of file HSLLoader.h.

◆ ma86_finalise_t

typedef void(* ma86_finalise_t) (void **keep, const struct ma86_control *control)

Definition at line 401 of file HSLLoader.h.

◆ ma97_default_control_t

typedef void(* ma97_default_control_t) (struct ma97_control *control)

Definition at line 406 of file HSLLoader.h.

◆ ma97_analyse_t

typedef void(* ma97_analyse_t) (const int check, const int n, const int ptr[], const int row[], ma97pkgtype_d_ val[], void **akeep, const struct ma97_control *control, struct ma97_info *info, int order[])

Definition at line 410 of file HSLLoader.h.

◆ ma97_factor_t

typedef void(* ma97_factor_t) (const int matrix_type, const int ptr[], const int row[], const ma97pkgtype_d_ val[], void **akeep, void **fkeep, const struct ma97_control *control, struct ma97_info *info, const ma97pkgtype_d_ scale[])

Definition at line 422 of file HSLLoader.h.

◆ ma97_factor_solve_t

typedef void(* ma97_factor_solve_t) (const int matrix_type, const int ptr[], const int row[], const ma97pkgtype_d_ val[], const int nrhs, ma97pkgtype_d_ x[], const int ldx, void **akeep, void **fkeep, const struct ma97_control *control, struct ma97_info *info, const ma97pkgtype_d_ scale[])

Definition at line 434 of file HSLLoader.h.

◆ ma97_solve_t

typedef void(* ma97_solve_t) (const int job, const int nrhs, ma97pkgtype_d_ *x, const int ldx, void **akeep, void **fkeep, const struct ma97_control *control, struct ma97_info *info)

Definition at line 449 of file HSLLoader.h.

◆ ma97_finalise_t

typedef void(* ma97_finalise_t) (void **akeep, void **fkeep)

Definition at line 460 of file HSLLoader.h.

◆ ma97_free_akeep_t

typedef void(* ma97_free_akeep_t) (void **akeep)

Definition at line 465 of file HSLLoader.h.

◆ mc19ad_t

typedef void(* mc19ad_t) (ipfint *N, ipfint *NZ, double *A, ipfint *IRN, ipfint *ICN, float *R, float *C, float *W)

Definition at line 469 of file HSLLoader.h.

◆ mc68_default_control_t

typedef void(* mc68_default_control_t) (struct mc68_control_i *control)

Definition at line 480 of file HSLLoader.h.

◆ mc68_order_t

typedef void(* mc68_order_t) (int ord, int n, const int ptr[], const int row[], int perm[], const struct mc68_control_i *control, struct mc68_info_i *info)

Definition at line 484 of file HSLLoader.h.

Function Documentation

◆ LSL_loadHSL()

IPOPTLIB_EXPORT int LSL_loadHSL ( const char *  libname,
char *  msgbuf,
int  msglen 
)

Tries to load a dynamically linked library with HSL routines.

Also tries to load symbols for those HSL routines that are not linked into Ipopt, i.e., HAVE_... is not defined. Returns a failure if the library cannot be loaded, but not if a symbol is not found.

See also
LSL_isMA27available
LSL_isMA57available
LSL_isMA77available
LSL_isMA86available
LSL_isMA97available
LSL_isMC19available
Parameters
libnameThe name under which the HSL lib can be found, or NULL to use a default name (libhsl.SHAREDLIBEXT).
msgbufA buffer where we can store a failure message. Assumed to be NOT NULL!
msglenLength of the message buffer.
Returns
Zero on success, nonzero on failure.

◆ LSL_unloadHSL()

IPOPTLIB_EXPORT int LSL_unloadHSL ( void  )

Unloads a loaded HSL library.

Returns
Zero on success, nonzero on failure.

◆ LSL_isHSLLoaded()

IPOPTLIB_EXPORT int LSL_isHSLLoaded ( void  )

Indicates whether a HSL library has been loaded.

Returns
Zero if not loaded, nonzero if handle is loaded

◆ LSL_isMA27available()

IPOPTLIB_EXPORT int LSL_isMA27available ( void  )

Indicates whether a HSL library is loaded and all symbols necessary to use MA27 have been found.

Returns
Zero if not available, nonzero if MA27 is available in the loaded library.

◆ LSL_isMA57available()

IPOPTLIB_EXPORT int LSL_isMA57available ( void  )

Indicates whether a HSL library is loaded and all symbols necessary to use MA57 have been found.

Returns
Zero if not available, nonzero if MA57 is available in the loaded library.

◆ LSL_isMA77available()

IPOPTLIB_EXPORT int LSL_isMA77available ( void  )

Indicates whether a HSL library is loaded and all symbols necessary to use MA77 have been found.

Returns
Zero if not available, nonzero if HSL_MA77 is available in the loaded library.

◆ LSL_isMA86available()

IPOPTLIB_EXPORT int LSL_isMA86available ( void  )

Indicates whether a HSL library is loaded and all symbols necessary to use HSL_MA86 have been found.

Returns
Zero if not available, nonzero if HSL_MA86 is available in the loaded library.

◆ LSL_isMA97available()

IPOPTLIB_EXPORT int LSL_isMA97available ( void  )

Indicates whether a HSL library is loaded and all symbols necessary to use HSL_MA97 have been found.

Returns
Zero if not available, nonzero if HSL_MA97 is available in the loaded library.

◆ LSL_isMC19available()

IPOPTLIB_EXPORT int LSL_isMC19available ( void  )

Indicates whether a HSL library is loaded and all symbols necessary to use MA57 have been found.

Returns
Zero if not available, nonzero if MC19 is available in the loaded library.

◆ LSL_isMC68available()

IPOPTLIB_EXPORT int LSL_isMC68available ( void  )

Indicates whether a HSL library is loaded and all symbols necessary to use HSL_MC68 have been found.

Returns
Zero if not available, nonzero if MC68 is available in the loaded library.

◆ LSL_HSLLibraryName()

IPOPTLIB_EXPORT char * LSL_HSLLibraryName ( void  )

Returns name of the shared library that should contain HSL.

◆ LSL_setMA27()

IPOPTLIB_EXPORT void LSL_setMA27 ( ma27ad_t  ma27ad,
ma27bd_t  ma27bd,
ma27cd_t  ma27cd,
ma27id_t  ma27id 
)

sets pointers to MA27 functions

◆ LSL_setMA57()

IPOPTLIB_EXPORT void LSL_setMA57 ( ma57ad_t  ma57ad,
ma57bd_t  ma57bd,
ma57cd_t  ma57cd,
ma57ed_t  ma57ed,
ma57id_t  ma57id 
)

sets pointers to MA57 functions

◆ LSL_setMA77()

IPOPTLIB_EXPORT void LSL_setMA77 ( ma77_default_control_t  ma77_default_control,
ma77_open_nelt_t  ma77_open_nelt,
ma77_open_t  ma77_open,
ma77_input_vars_t  ma77_input_vars,
ma77_input_reals_t  ma77_input_reals,
ma77_analyse_t  ma77_analyse,
ma77_factor_t  ma77_factor,
ma77_factor_solve_t  ma77_factor_solve,
ma77_solve_t  ma77_solve,
ma77_resid_t  ma77_resid,
ma77_scale_t  ma77_scale,
ma77_enquire_posdef_t  ma77_enquire_posdef,
ma77_enquire_indef_t  ma77_enquire_indef,
ma77_alter_t  ma77_alter,
ma77_restart_t  ma77_restart,
ma77_finalise_t  ma77_finalise 
)

sets pointers to MA77 functions

◆ LSL_setMA86()

IPOPTLIB_EXPORT void LSL_setMA86 ( ma86_default_control_t  ma86_default_control,
ma86_analyse_t  ma86_analyse,
ma86_factor_t  ma86_factor,
ma86_factor_solve_t  ma86_factor_solve,
ma86_solve_t  ma86_solve,
ma86_finalise_t  ma86_finalise 
)

sets pointers to MA86 functions

◆ LSL_setMA97()

IPOPTLIB_EXPORT void LSL_setMA97 ( ma97_default_control_t  ma97_default_control,
ma97_analyse_t  ma97_analyse,
ma97_factor_t  ma97_factor,
ma97_factor_solve_t  ma97_factor_solve,
ma97_solve_t  ma97_solve,
ma97_finalise_t  ma97_finalise,
ma97_free_akeep_t  ma97_free_akeep 
)

sets pointers to MA97 functions

◆ LSL_setMC19()

IPOPTLIB_EXPORT void LSL_setMC19 ( mc19ad_t  mc19ad)

sets pointer to MC19 function

◆ LSL_setMC68()

IPOPTLIB_EXPORT void LSL_setMC68 ( mc68_default_control_t  mc68_default_control,
mc68_order_t  mc68_order 
)

sets pointers to MC68 functions