I'm implementing some algorithms in C++ and I need to solve some linear programs as an intermediate step within the algorithm.
I've managed to get the linear_solver
from google or-ools working, as well as glpk.
My issue is that I need to work with and solve LPs with very high precision integer types - more than 256 bits - in order for the algorithm to be correct (it's complicated but the algorithm can give very incorrect answers if less precision is used). At the moment I'm using mpz_class
and mpf_class
from gmp to store my numbers.