Game model of negotiations and market equilibria, contemporary mathematics and applications: Nonsmooth analysis and optimization