Calling libLBFGS from within YAP

View: New views
1 Messages — Rating Filter:   Alert me  

Calling libLBFGS from within YAP

by Bernd Gutmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all.

I guess not so many people are using Prolog for numerical optimization  
problems. For the few amongst you trying to minimize a function
   f(x1, ... , xn)
in YAP: There is help. :)


I just finished a small interface to libLBFGS which is a fast C  
library to perform this task. All you have to do is, provide a  
predicate which calculates the function value F(X) as well as the  
gradient vector and then you let libLBFGS do the rest for you.

YAP-LBFGS is a module providing the functionality of libLBFGS within  
YAP. It's tested and works nicely under Mac OS and also (if you're  
willing to change the Make file) under Linux.

If you're interested have a look at http://www.cs.kuleuven.be/~bernd/yap-lbfgs/
In case you find bugs or have questions, send me a mail.

Kind Regards
Bernd

-------------------------------------------------------------------------------
Bernd Gutmann <Bernd.Gutmann@...>
Dept. of Computer Science
Katholieke Universiteit Leuven
Phone: +32 16 32 7576
http://www.cs.kuleuven.be/~bernd
-------------------------------------------------------------------------------

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html







------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users