Statistical Models and Mathematical Optimization Based on Geometric Structures