Solution generation