solve graph now returns the objective value directly