I have a few confusions about Model Predictive Control (MPC). Since they are all minor questions related to the same category, I ask them under one topic.
In an article, the cost function is defined as: $$J(t)=\sum_{j=1}^{N_p}\delta(j) ( y(t+j|t) -ref(t+j) )^2 + \sum_{j=0}^{N_c-1}\lambda(j) u(t+j)^2+ \sum_{j=0}^{N_c-1}\gamma(j) \Delta u(t+j)^2$$
where, y is output, ref is the reference and u is the modified input, $N_C$ control horizon and $N_P$ the prediction window size.
1- First of all, in MPC, how to know reference in future? Even though we know the model, we do not know the future input. Is input considered to be constant? Unfortunately, I found no article explaining that.
2- In MPC, are $\delta(j), \lambda(j), \gamma(j)$ uniform? if they reduce over $j$, How do they usually reduce? exponentially?
3- What is the algorithm to guess $u(t+j)$ ? Are they guessed randomly? or u(t+j) depends on u(t+j-1) while initial guess (I considered their selection is done through Genetic Algorithm but I do not think it is the right algorithm for MPC).
4- Why $y(t+j|t)$ is predicted in continuous form while the manipulated input is discrete? Wouldn't it be better to be continuous too? At least by connection of dots with a simple line? (see the figure below)
5- How is the above equation simplified to: $$ J=\frac{1}2 \Delta U^T H \Delta U +\Delta U^T F $$ What happened to $y$? is $y$ a part of new matrix $U$? (article: Wang, Liuping. Model predictive control system design and implementation using MATLAB®. springer, 2009.)
.

In some cases you know the reference in advance (a robot supposed to follow a predefined trajectory). In some cases you don't (a pilot giving reference inputs) and you have to make a reasonable assumption (e.g., reference stays the same as current value)
Most often constant. If you want to use something else, you are free to come up with what ever you want (expontial decay, geometric decay etc etc)
Standard MPC boils down to simple convex quadratic programming (QP) which is a well established field with many solvers.
What is continuous? MPC isalmost always defined using the discrete-time model $x_{k+1} = Ax_k + Bu_k, y_k = Cx_k + D u_k$
By using the dicsrete-time model above and writing everything using vectors and matrices. $y$ can be eliminated if one wants as it is linear function of $x$ which is a linear function of the initial state and the control sequence. You will find this in any basic book on MPC.