We consider variational problems involving nonlocal free energy functi
onals that arise from Gibbs measures with Kac potentials and are relat
ed to the characterization of the optimal (i.e., typical) shape of an
interface under given constraints on the magnetization profile.