Could you confirm whether both of 'for solving' and 'to solve' are okay in the following sentence? Thank you.<br/><br/><i>He came up with a new idea [for solving/to solve] the household waste problem.</i>