What are all necessary changes to the below model so that constraint set $(2)$ becomes soft?
Give the new full model. $\alpha_{ij}$ are parameters. Eqn. $(1)$ refers to an already existing function of the decision variables that is being maximized.
\begin{align} \max\limits_{x\in \mathbb{R^{m\times n}}}&\quad f(x) \tag{1} \\ \text{s.t.}&\quad\sum_{i=1}^m a_{ij}x_{ij}=10 &\forall j=1,\ldots,m \tag{2} \\&\quad x_{ij}\ge 0 & \forall i=1,\ldots,m,\; \forall j=1,\ldots,n \tag{3} \end{align}
What will change if the problem becomes a minimization problem?