Mathematical models and methods in marketing