Commit Graph

94 Commits

Author SHA1 Message Date
fb98a740ea 自己编译 2019-10-21 22:24:25 +08:00
462d3121ee 添加注释 2019-10-21 22:09:44 +08:00
d3ebea8582 添加中文注释 2019-10-19 23:09:30 +08:00
Jey Kottalam
7fc787678e Add lbfgs_strerror(). 2019-07-03 20:04:47 +09:00
Sangwhan Moon
3b35fa16dc Update documentation for default value of delta.
This matches the documentation to the actual code level default.
Resolves #19.
2019-06-04 22:20:36 +09:00
Giulio Paci
2cee127280 Improvements to the build system (#25)
* Renamed configure.in into configure.ac.

* Modernized configure.ac.

* Added '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
2019-06-04 21:04:56 +09:00
Andreas Schuh
e4f94fabd2 Enable build configuration with CMake (#18)
* add: CMake configuration files

* doc: Variables affecting CMake configuration installation

* fix: Rename CMake module and project -> subproject macro

The problem is that macro/function definitions in CMake have global scope. Therefore, use a custom macro name rather than replacing the standard CMake command.

* enh: Set LibLBFGS_LIBRARIES variable in LibLBFGSConfig.cmake

For (older) libLBFGS installations that do not contain the CMake package configuration file, a FindLibLBFGS.cmake module will be needed which then sets LibLBFGS_LIBRARIES to the path of the actual library file instead of an imported CMake build target.

* doc: Update CMakeLists.txt comment

* fix: Do not inherit CMake options from parent project

The parent project must explicitly set ${PROJECT_NAME}_${varname} before including the subproject to the value of the same named parent option ${varname} if super- and sub-project should both use the same value.

* fix: Export of targets as part of parent project

* fix: Do not import targets when liblbfgs TARGET exists

* enh: Prefix Subproject module functions, use unique target names and non-imported target ALIAS

* enh: Remove check if PROJECT_NAME is defined

* fix: Update documentation of CMakeLists.txt

* enh: Document LBFGS_INSTALL_HEADERS
2019-06-04 21:04:00 +09:00
Sangwhan "fish" Moon
6aa4a77c99
Merge pull request #22 from mikhailkin/patch-1
Bug was fixed in delta criterion
2019-06-04 20:53:00 +09:00
Sangwhan "fish" Moon
2fc13c1ac5
Merge pull request #9 from dkogan/upstream
The comment describing the default max_linesearch value now matches the ...
2019-06-04 20:37:56 +09:00
Sangwhan Moon
7777580e1e Add missing details in build instructions.
Resolves #3 and #8.
2019-06-04 20:32:03 +09:00
Sangwhan "fish" Moon
23b8bddc92
Merge pull request #2 from sseemayer/master
Add .gitignore
2019-06-04 20:27:57 +09:00
Kostyukov
c16297a59e Bug was fixed in delta criterion
Delta criterion didn't work properly. Please, consider fix to add
2017-06-02 14:59:56 +03:00
Naoaki Okazaki
57678b188a Upgraded to MSVC 2015. 2016-01-25 17:41:23 +09:00
Naoaki Okazaki
b2a54a9812 - Added a link to a R wrapper (contributed by Antonio Coppola)
- Updated the web site.
2014-09-02 11:39:32 +09:00
Dima Kogan
31ef1e8ea0 The comment describing the default max_linesearch value now matches the code
The code set it to 40, but the comment said 20. The comment now matches the code
2014-01-18 12:36:07 -08:00
Stefan Seemayer
2e414afe81 Add gitignore 2013-02-26 18:15:09 +01:00
Naoaki Okazaki
fb51be30d4 Merge pull request #1 from lucastheis/master
Merged the pull request from lucastheis to fix compiling problem with single precision (float) and SSE.
2013-02-14 23:22:07 -08:00
Lucas Theis
d83800b05c Minor fix. 2012-12-22 16:26:45 +01:00
Naoaki Okazaki
27e905f386 Final step for release 1.10. 2010-12-21 01:16:22 +09:00
OKAZAKI Naoki
08e19a3444 Fixed a problem in EXTRA_DIST in Makefile.am 2010-12-21 01:06:29 +09:00
Naoaki Okazaki
8d7828a872 - Reduced warnings (I found a typo in the sample code).
- Added "-Wall" compiler option.
2010-12-21 01:01:31 +09:00
Naoaki Okazaki
3c1909394f Fixed a serious mistake in applying the patch submitted by Tamas Nepusz;
lbfgs() always returns LBFGSERR_INVALID_X_SSE when the SSE routine enabled.
2010-12-21 00:52:05 +09:00
Naoaki Okazaki
8cc8e74417 - Updated the version of doxyfile
- Preparation for 1.10 release
2010-12-21 00:32:44 +09:00
Naoaki Okazaki
fb9d7aa0fb The same as the previous commit; forgot to commit this file. 2010-12-16 19:04:59 +09:00
Naoaki Okazaki
b77bad442d Replaced memalign() with posix_memalign(). 2010-12-16 19:02:14 +09:00
Naoaki Okazaki
327d0a5f80 Merged the patch submitted by Tamas Nepusz to fix some problems on Mac OS X. 2010-12-07 23:30:04 +09:00
Naoaki Okazaki
94854170e7 Patch submitted by Nic Schraudolph to fix compiling problems on Mac OS X. 2010-11-17 09:25:11 +09:00
Naoaki Okazaki
4a7248af48 - Added *.vcxproj
- Removed *.vcproj
2010-11-12 22:35:29 +09:00
Naoaki Okazaki
63b8589648 Updated the MSVC solution file to 2010. 2010-11-12 22:32:26 +09:00
naoaki
da483ce061 - Preparation for liblbfgs 1.9.
- Updated the copyright information.

git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@65 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2010-01-29 12:19:16 +00:00
naoaki
f9d0f5539f Updated the copyright year with 2010.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@64 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2010-01-13 07:30:54 +00:00
naoaki
8f778b42e9 Updated the copyright year with 2010.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@63 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2010-01-13 07:30:17 +00:00
naoaki
2b9f6b92c4 - A patch from Kevin S. Van Horn to fix a bug in error checking.
- Updated the copyright year with 2010.

git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@62 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2010-01-13 07:28:37 +00:00
naoaki
3c3ca1bb5b Updated the list of the special thanks.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@61 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-07-13 14:44:38 +00:00
naoaki
80589797a3 Release for 1.8.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@60 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-07-13 14:27:47 +00:00
naoaki
896f8cbc7c Improved documentations
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@59 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-07-13 14:04:26 +00:00
naoaki
6375811810 A patch from Takashi Imamichi. The backtracking line
search now supports Armijo, and regular/strong Wolfe
conditions.

git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@58 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-06-08 15:48:21 +00:00
naoaki
f8b53433f9 Added a link to YAP-LBFGS.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@57 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-04-24 15:18:59 +00:00
naoaki
e94f0941b1 Release for 1.7.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@56 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-28 09:41:21 +00:00
naoaki
81ea5dcc75 Reverted the previous change.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@55 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-23 14:51:21 +00:00
naoaki
2dd9217a39 Experimental code.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@54 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-23 14:45:23 +00:00
naoaki
520a83c576 - Reverted the changes of the default parameters.
- TAB -> SPACE.

git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@53 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 15:31:09 +00:00
naoaki
f0e95e36ff Do not allow the strong Wolfe condition for OW-LQN.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@52 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 15:23:18 +00:00
naoaki
662aa854dd Updated the copyright information.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@51 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 15:15:03 +00:00
naoaki
c038293043 Updated the copyright information.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@50 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 15:14:23 +00:00
naoaki
f4362676e6 Constrain the search direction.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@49 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 14:59:05 +00:00
naoaki
6a1b860ea3 A bug fix in OW-LQN.
Use xp instead of wa in MoreThunte.

git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@48 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 14:02:45 +00:00
naoaki
83a802b87c Removed the unused code.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@47 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 13:58:47 +00:00
naoaki
25e895b4e5 Now OW-LQN method is available only with backtracking linesearch methods.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@46 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 13:41:27 +00:00
naoaki
1b33e075df Use LBFGS_LINESEARCH_BACKTRACKING_STRONG instead of LBFGS_LINESEARCH_BACKTRACKING.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@45 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
2009-02-16 13:37:48 +00:00