This work is focused on how to set coefficients for linear regression.
The Step-by-Step Guide to Formulate Lasso Linear Regression with Gurobi and Setting Coefficients, can be better explain in this article: https://medium.com/@nicolay.huarancay/lasso-regression-with-gurobi-and-setting-coefficients-approach-179be20eea14
Linear regression is a popular technique with many real-world applications. However, the question of whether it is appropriate to set coefficients in multiple regression is controversial, as it can lead to biases and suboptimal solutions. Various techniques such as lasso and robustness can still produce effective outcomes. The decision to set coefficients depends on factors such as prior knowledge, improving interpretability, and additional techniques like feature selection and regularization.
While exploring this topic, I wrote an article on formulating Lasso linear regression and setting coefficients in a step-by-step approach, but it's important to note that this can lead to issues that require addressing. Basic knowledge of linear and Lasso regression theory, linear algebra, and optimization models is necessary to understand the article.
There are some Linear Regression solution formulations:
$$ z_i: \text{ binary, 1 if } \beta^{+}{i} > 0 \text{, and 0 if } \beta^{-}{i} \geq 0 $$