Solutions under different constraints

Long-only: positive weights with full investment constraint; Max. asset weight: positive weights, capped at the asset level at 20%; Max. asset class weight: positive weights, capped at the asset level at 20% with additional constraints by asset class