6
votes
Accepted
Gurobipy MILP model comes infeasible yet can't compute IIS because "the model is feasible"
This model is likely on the borderline between feasibility and infeasibility. The algorithm used to determine feasibility in the solver is different than the algorithm used in IIS, and may reach a ...
2
votes
Convex approximation of an expression
No approximation is needed if you wish to minimize the expression. For maximization, see the material after "Edit".
Due to cyclic permutation invariance of trace,
$$\text{trace}(X) = \text{...
2
votes
Constrained optimization of a sum
The problem
$$
\begin{array}{rcl}
\min & \sum_{j=1}^n c_j x_j & \\
\mbox{st} & \sum_{j=1}^n x_j & = & b, \\
& l \leq x \leq u. & & \\
\end{array}
$$
can ...
2
votes
Accepted
MIP formulation for a lower semi-continuous function
You want to maximize $\max(f(x),0)$. Assume $L \le f(x) \le U$ for constants $L$ and $U$. Maximize $g(x)$ subject to
$$
0 \le g(x) \le U y \\
0 \le g(x) - f(x) \le (0-L)(1-y) \\
y \in \{0,1\}
$$
1
vote
Accepted
How to design a constraint to control flow in a non-network optimization model
Ok, suppose production process $i1$ goes to consumption process $ i2$. You can create a map of $ i1 -> i2$ & define parameters $z_{i1,i2}$such that if $ i1 -> i2$, then $ z_{i1,i2} = 1$, $0$ ...
1
vote
Optimization algorithm for space debris
ACO, genetic algorithms and other metaheuristics can be adapted to constrained problems by adding to the objective function penalties for constraint violations and then treating the problem as ...
1
vote
What is the benefit of developing opensource git-respository for the developer?
Another obvious benefit is that users will try many configurations and ideas, find possible bugs, thus making the library more robust.
1
vote
Convex approximation of an expression with fraction for CVX
I assume the given problem is
$$
\max \frac{\|ax-b\|^2}{\|cx+b\|^2}, x \in \mathbb{C}^N
$$
I may try the following relaxation. The given problem is equivalent to
$$
\begin{align}
&\max &\|ax-...
1
vote
Constrained optimization of a sum
Primal Problem
$$\begin{align}
\text{maximize} \quad & \sum_{i=1}^n c_i x_i \\\
\text{subject to} \quad & \sum_{i=1}^n x_i = 0 \\
& x_i \ge -1 \quad \forall i=1,\ldots,n \\
& x_i \le ...
1
vote
What kind of optimization problems are solved most often in practice?
Look at case studies from LocalSolver:
https://www.localsolver.com/docs/last/exampletour/index.html
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
optimization × 1014mixed-integer-programming × 207
linear-programming × 194
modeling × 137
python × 111
integer-programming × 77
combinatorial-optimization × 76
nonlinear-programming × 68
convex-optimization × 68
constraint × 67
gurobi × 54
scheduling × 53
reference-request × 47
solver × 43
linearization × 42
cplex × 37
constraint-programming × 36
pyomo × 36
quadratic-programming × 35
algorithms × 31
multi-objective-optimization × 26
graphs × 25
network-flow × 25
assignment-problem × 25
vehicle-routing × 22