polyrun.solver.GLPSolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polyrun Show documentation
Show all versions of polyrun Show documentation
A library containing implementation of uniform sampling from bounded convex polytopes.
package polyrun.solver;
import polyrun.constraints.ConstraintsSystem;
import polyrun.exceptions.UnboundedSystemException;
/**
* Solver of General Linear Programming problem.
*/
public interface GLPSolver {
enum Direction {
Maximize,
Minimize
}
SolverResult solve(Direction direction, double[] objective, ConstraintsSystem constraints) throws UnboundedSystemException;
}