call solve of the model