Given a complete bi-directional graph $G=(V,\overrightarrow{E})$, let's consider the following formulation:
$$\begin{align} min \quad & \sum_{k\in {V}} \Big(\alpha_{k}-\sum_{(j,k) \in \overrightarrow{E}} x_{jk}\alpha_{j}\Big)^2 + \sum_{(j,k) \in \overrightarrow{E}} c^T g \\ & x_{ij} \leq M g_{ij} \quad (i,j) \in \overrightarrow{E} \\ & \psi_{ij}+ \psi_{ji}=1 \quad (i,j) \in \overrightarrow{E} \\ & g_{ij} \leq \psi_{ij} \quad (i,j) \in \overrightarrow{E} \\ & A \psi \leq t \\ & g_{ij}, \psi_{ij} \in \{0,1\} \quad (i,j) \in \overrightarrow{E}\\ & x_{ij} \geq 0 \quad (i,j) \in \overrightarrow{E}\end{align}$$
This is a Mix-Integer Quadratic Optimization which can be solved by opt solvers (e.g., Gurobi). That said, this formulation has poor relaxation because of big-M constraint.
Alternative formulation: Since we have $\psi_{ij} + \psi_{ji}=1$, it is clear that we have a disjuction constraint in the form of $x_{ij} x_{ji}=0$.
What would be an effective way to deal with this disjuction constraint. In the same spirit, can the decision variable $x_{ij}$ be tighten with other inequalities?
My first attemt is to add this inequality: $x_{ij}x_{ji} \leq g_{ij}^2$ to tighten the range for $x_{ij}$ but it makes the problem non-linear (cannot be solved by Gurobi anymore).
Edit: There is no natural way to identify a tight big-M for this formulation. What I do is to remove all constraints and optimzie the convex quadratic objective function (without g). Let $x_{ij}^{\star}$ be the solution to this problem. Then, we set $M= 5\times max_{i,j}(x^\star_{ij})$. The exact way to identigy M is both very difficult to solve and also gives way too big M.
It's hard to give a definite answer without more insight into the problem, but a few thoughts come to mind.