Solution of a given problem