Tools for fluctuation reconstruction in density functional theory , resulting optimization problems and nonlinear equations