R API to LocalSolver