I have a manipulation problem that I can't find a solution online. Here is a simple example from my case.
constraint = RandomInteger[{1, 10}];
L1 = k RandomReal[{-10, 10}, {1, constraint}];
L2 = Table[{Subscript[b, i]}, {i, 1, constraint}];
y = Total[Flatten[L1.L2]]
With[{y = y},
Manipulate[
Plot[y, {k, 1, 10}],
{Subscript[b, 1], 0, 1},
{Subscript[b, 2], 0, 1},
{Subscript[b, 3], 0, 1},
{Subscript[b, 4], 0, 1},
{Subscript[b, 5], 0, 1},
{Subscript[b, 6], 0, 1},
{Subscript[b, 7], 0, 1},
{Subscript[b, 8], 0, 1},
{Subscript[b, 9], 0, 1},
{Subscript[b,,10], 0, 1}]]
My question is that is there a way to auto generate the parameters in Manipulate according to my constraint?