Project Summary

  Analyzed 6 days ago based on code collected 6 days ago.

C++ library for solving systems of linear constraints: inequalities equality and disequality. Current version is based on Fourier-Motzkin (FM) elimination for inequalities and Gaussian elimination for equality. Quantifiers “Forall” and “Exists” are allowed. Boolean connectivities '&' -and, '|' - or '~' - not. '' '>=' '=' - arithmetical inequalities. The simplest formula for the solver might be:

Exists x (x > 0 & x < 3);The solver simplifies such formula to 'true'. The solver simplifies system of equalities using LU decomposition. For example:

x + y = 3 &
x - y = 1 ;Gives:

x = 2 & y = 1Appliances:

Such solver may be applied as arithmetic online solver for software/hardware static verification tools. Solution of the linear programming problem. But since the FM algorithm is more general solver is not such efficient as a simplex method solver.

Note. By now the code base is incomplete. It contains all Calculator's code and only small part of the Solver code. Rest of the code is coming. Stay tuned :)

If you have questions feel free to contact me vitaly.german

gmail.com

Share

In a Nutshell, constraints-solver-over-r...

Languages

C++
95%
3 Other
5%
 
 

Lines of Code

 

Activity

30 Day Summary

Jun 8 2014 — Jul 8 2014

12 Month Summary

Jul 8 2013 — Jul 8 2014

Community

Ratings

Be the first to rate this project
 
Click to add your rating
 
Review this Project!