rename solution ==> state in iteroptim