Optimizing an equal weights two-asset portfolio