# Qiskit Portfolio Optimization : Does the resulting matrix show the stock combination to select?

The IBM Qiskit Portfolio Optimization sample finally provides an array similar to [1,0,1,1] representing the 4 digits as the stocks. So does the 0 and 1 represent the corresponding stock and whether to invest it or not ?

Is there any possibility to get in a weighted form such as invest 10% in stock #1 and 30% in stock #2 and so on.

As mentioned in the notebook, $$x$$ denotes the vector of binary decision variables, which indicates which assets to pick $$x[i]=1$$ and which not to pick $$x[i]=0$$.