In this paper, we are concerned with the study of mathematical analysis for an optimal control a nonlocal degenerate aggregation model. This model describes organisms such as pedestrian movements, chemotaxis, animal swarming. We establish wellposedness (existence and uniqueness) weak solution direct problem by means auxiliary nondegenerate equation, Faedo–Galerkin method (for existence result) ...