This is the code corresponding to the paper:
E. G. Birgin, J. L. Gardenghi, J. M. Martínez, and S. A. Santos, On the use of third-order models with fourth-order regularization for unconstrained optimization, 2018.
This distribution includes Algencan 3.1.1.
Consider $(AR4) the root folder of this repository.
- Go to
$(AR4)folder and type
make
- You can run the drivers to MGH problems and the Packing problem in
$(AR4)/binfolder by runningmghandpackbinaries files, respectively. Follow the instructions given by these programs to run the tests.
The tests in the paper were run using MA57 and BLAS subroutines. Algencan does not need these files to work, but in order to reproduce the tests in the paper, the user must include them. To include them, follow these steps:
-
Obtain HSL_MA57 from Harwell Subroutine Library website.
-
Obtain BLAS subroutine from Netlib website.
-
Copy the files in
$(AR4)/algencan/sources/hslfolder:-
From BLAS library:
dgemm.f,dgemv.f,dtpmv.f,dtpsv.f,idamax.f,lsame.f,xerbla.f. -
From HSL MA57 library:
hsl_ma57d.f90,hsl_zd11d.f90,ma57ad.f,mc21ad.f,mc34ad.f,mc47ad.f,mc59ad.f,mc64ad.f,mc71ad.f. (Excepthsl_ma57d.f90, all other routines usually comes inside files nameddeps.fanddeps90.f90. The user may need to save them in files with these names.) -
HSL MA57 requires MeTIS. You can use
fakemetis.fthat comes with HSL MA57 distribution.
-
-
Include
-lhslflag in variableALGENCAN_FLAGSinside$(AR4)/Makefilefile.