Setting and geting task for certain solve type.