libfgen Icon



Library for optimization using a genetic algorithm or particle swarms

Add a Review
1 Download (This Week)
Last Update:
Download libfgen-0.1.16.tar.gz
Browse All Files
Windows Linux



libfgen is a library that implements an efficient and customizable genetic algorithm (GA). It also provides particle swarm optimization (PSO) functionality and an interface for real-valued function minimization or model fitting. It is written in C, but can also be compiled with a C++ compiler. Both Linux and Windows are supported.

libfgen Web Site


  • Fast and efficient GA implementation with a fixed population size.
  • Customizable GA with multiple selection, mutation and crossover types.
  • Application can provide custom seeding, mutation and crossover operators.
  • Thread-safe and can use multiple threads for fitness calculation or an archipelago of concurrent genetic algorithms.
  • Particle swarm optimization algorithm with API similar to that of the GA.
  • Higher level easy-to-use model fitting and function minimization interface that uses the GA or PSO.
  • Tested on real-world datasets (fitting orbits of exoplanets to stellar radial-velocity data).
  • Clear API with documentation provided (html).
  • Command line and graphical example programs provided.
  • Examples include the Travelling Salesman Problem, linear genetic programming and texture compression.


Other Useful Business Software

The Sight of Sound Icon

­ Improve VoIP Visibility from SIP to RTP

The Sight of Sound Icon
Cloudbased voice solutions are common in enterprise networks and frustrating for operations teams to manage. Simplify VoIP monitoring by having a proactive analysis of on-prem, hybrid and UCaaS voice services. Try the ThousandEyes VoIP monitoring solution today, free.
Write a Review

User Reviews

Be the first to post a review of libfgen!

Additional Project Details

Intended Audience

Developers, Science/Research

User Interface

Command-line, GTK+

Programming Language

C, C++



Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

No, Thank you