Extremely basic learning solver implementation.