def METHOD_NAME(self):
    """Test the portfolio optimization set random instance method classical solution"""
    seed = 1234
    po_sol = PortfolioOptimization.random_instance(
        num_assets=10, seed=seed
    ).classical_solution()
    sol = {
        "asset_0": 1.0,
        "asset_1": 1.0,
        "asset_2": 1.0,
        "asset_3": 0,
        "asset_4": 0,
        "asset_5": 0,
        "asset_6": 0,
        "asset_7": 1.0,
        "asset_8": 1.0,
        "asset_9": 0,
    }
    self.assertEqual(po_sol, sol)