Skip to content

lalaniket8/Mathematical-Optimization-using-Genetic-Algorithm

Repository files navigation

Mathematical-Optimization-using-Genetic-Algorithm

Linear and non-linear 2-variable optimization

This project aims at developing a Genetic algo library which supports mathematical functionality and its graphical representation using jfreechart library.

This approach is not limited to linear equations. It supports linear and non linear constraints and objective functions.

Launcher.java: contains main method
XYLineChart_AWT.java: deals with graphical representation of population
Generation.java: abstract class which provides the base for genetic algorithm
LinAlgebra.java: extends Generation class and implements all necessary methods of genetic algo pertaining to our problem statement
Point.java: Point object is an individual organism in the population
Exp.java: Expression class for easy working with constraints and objective function
SimplePoint.java: A tuple of x and y coords

JFreeChart library is used for graphical representation of solution
http://www.jfree.org/jfreechart/

Scope for imporvement:

  1. Establish a proper interface for the library(mathmatical parts)
  2. Rewrite expression class and write different inherited classes for objective function and constraints
  3. Use regex in expression class
  4. Properly scale graph output
  5. UI modification

Video : link

About

Linear and non-linear 2-variable optimization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages