Skip to content

Optimization algorithms in C++ in order to practice multi-threading/shared data/concurrency

costineesti/optimizations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

optimizations

Sources: AST, Shunting Yard

Optimization algorithms in C++:

  • Newton
  • Conjugate Gradient
  • Steepest Descent

The main idea is to tokenize an input string that contains multiple variables (x,y,z, etc) and to solve for the solutions. I solved for a local minima using the algorithms above. The tokenized input is transformed into an AST. Then I compute the differentials of that Abstract Syntax Tree (which is basically just a binary tree) and compute the values. The values of the input string are computed through Shunting Yard algorithm and Reverse Polish Notation (RPN).

About

Optimization algorithms in C++ in order to practice multi-threading/shared data/concurrency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published