Arbitrage-free pricing: From optimization to Black-Scholes