Skip to main content

Questions tagged [integer-programming]

Questions on optimization constrained to integer variables.

Filter by
Sorted by
Tagged with
1 vote
2 answers
439 views

After doing a few optimization word problems, I've noticed I'm struggling a bit when trying to determine whether or not to set up the problem as an Integer Program, Linear Program, or Mixed Integer ...
The_Bandit's user avatar
1 vote
1 answer
97 views

So I have a problem, that is really similar to the assignment problem. Basically there is a company producing square envelopes. A number of papers should be put into the envelope. Exactly one paper pr ...
sarah johnson's user avatar
0 votes
1 answer
73 views

How could I show how a maximum flow problem can be used to find a maximum cardinality matching in a bipartite graph? thanks in advance
çaça's user avatar
  • 13
4 votes
2 answers
277 views

I am reaching out for problem-heavy references in Linear / Integer / Mixed-Integer (MIP) / Non-Linear / Network Programming and Operations Research (and Linear Algebra as it pertains to the ...
JJMae's user avatar
  • 2,157
1 vote
2 answers
172 views

The bin pack problem denotes the process of assigning a set of n items into a minimal number of bins of capacity c. It can be simply formulated as an ILP as per the below description: My question is :...
Mazen Ezzeddine's user avatar
1 vote
1 answer
27 views

How to represent in PLI the fact that inequality (1) or inequality (2) must be satisfied but not both? $j$ is executed before $k \rightarrow t_{ij} + p_{ij} \leq t_{ik}$ (1) $j$ is executed after $k \...
ROMULO 's user avatar
2 votes
0 answers
450 views

I have an ILP (all variables are binary) and on several instances I’ve observed that its optimal value coincides with the LP relaxation optimal value. The LP relaxation is not integral for fractional ...
esv's user avatar
  • 31
1 vote
1 answer
44 views

I have the following objective function: \begin{equation} f(i,j,k) = a + b_1 i + b_2 j + b_3 k + \sqrt{(a + b_1 i + b_2 j + b_3 k)^2-d^2}, d\geq 0 \end{equation} Is it possible to analytically find ...
lightxbulb's user avatar
  • 2,438
1 vote
0 answers
56 views

I have a problem in a very nice book by Alexander Schrijver Theory of Linear and Integer Programming in the Relaxation Method. Can some give me a hint how here on the page $160$ it was obtained the ...
user122424's user avatar
3 votes
1 answer
113 views

I have the following problem at hand: Given an odd number $n > 7$, find a set of non-negative integers $m_7$, $m_8$, ..., $m_{13}$ and $m_{14}$, such that the sum $m_7\cdot 7 + m_8\cdot 8 + ... + ...
Ubuntu_fan's user avatar
1 vote
0 answers
32 views

I am trying to wrap my head around this problem: $$maximize \quad w^t X \quad \text{with}\, w=[a, b, c, d]$$ $$\text{subject to}\quad x_1 a + y_1 b + z_1 c + k_1 d \leq v_1$$ $$\dots$$ $$x_n a + y_n ...
D4nt3's user avatar
  • 11
3 votes
1 answer
134 views

I have a minimisation problem in the following form $$\textrm{min}: x^TAx$$ constrained by $\sum x_i=N$ where $x$ is a vector containing only 1's and 0's, and $A$ is a square matrix of real numbers. ...
freshmathhead's user avatar
3 votes
1 answer
269 views

I am studying a mixed integer program in the form $$ \textrm{min}: \sum A x$$ constrained by $\sum x_i = N$ where $x$ is a vector containing only 1's and 0's, N is an integer, and $A$ is a square ...
testman7's user avatar
1 vote
1 answer
35 views

If the variable is binary 1,0 the model name is a binary integer optimization model If the variable is any integer, the model name is integer optimization model What if the variable is any integer ...
OptAny's user avatar
  • 41
1 vote
0 answers
26 views

The title explains the problem more or less. I am looking for literature for a specific constraint, where a customer $i$ needs to be visited before another costumer $j$ can be visited. Are there any ...
Magnus M's user avatar
  • 121
1 vote
0 answers
117 views

I was wondering the following. Given a totally unimodular matrix $A$ and a vector $b \in Im(A)$ is then the matrix $[A,b]$ totally unimodular too? My guess is no, since for total unimodilarity every ...
samabu's user avatar
  • 789
3 votes
2 answers
1k views

I have an LP problem (linear objective with eq and ineq constraints) in binary variables. Except for the objective, all the coefficients are integer, mostly in {-1,0,1}. Maybe the objective coeff ...
Zohar Levi's user avatar
2 votes
0 answers
53 views

Suppose we have a linear system $$Ax\leq b\quad \text{where}\quad A\in \mathbb{Z}^{m\times n},b\in \mathbb{Z}^m.$$ In integer programming literature, we usually have that $A$ has only $\{0,\pm 1\}$ ...
user91360's user avatar
  • 1,231
1 vote
1 answer
43 views

Assuming we are to optimize 0-1 problem. If we've found the first solutions where multiple solutions might exists. How do we reconfigure the system (maybe through unimodular operations) inorder to ...
someone random's user avatar
2 votes
1 answer
309 views

There was this course in many undergraduate mathematics programs called integer programming. It included Modelling, Linear Programming Primal, Linear Programming Duality, Dual Simplex Algorithm and ...
user avatar
3 votes
0 answers
329 views

The FLAC audio codec is able to losslessly compress audio by removing redundancy from an audio signal with (forward) linear prediction and coding the residual of this prediction with a rice code. The ...
ktmf's user avatar
  • 81
1 vote
1 answer
101 views

How to model the Linear Programming for the problem below with the most complete + reasonable constraints. A production facility has 2 types of reinforcement bars 6m, 8m long (unlimited quantity). ...
ghibli's user avatar
  • 13
1 vote
1 answer
120 views

(Originally posted here https://stackoverflow.com/q/72687231/10291218) Suppose I have an integer array A of size n with two ...
J. Schmidt's user avatar
1 vote
0 answers
30 views

I'm reading the paper 'New bounds for the max-$k$-cut and chromatic number of a graph' by van Dam and Sotirov. On page 221, it says: "It is well known that one can restrict optimization of a SDP ...
student_83402's user avatar
2 votes
3 answers
217 views

I am trying to work out an if else statement for the following problem, which should be mathematically linear programmed: when both item 1 and item 2 are picked, both their costs are reduced with 20%. ...
Milouw's user avatar
  • 21
1 vote
1 answer
76 views

I started to study a bit of mixed linear programming, and I am facing the following exercise that after quite some time I don't know how to approach: Let $A\in\mathbb{R}^{m,n}$, $b\in\mathbb{R}^{m}$, ...
The_Variational_Hunter's user avatar
4 votes
2 answers
440 views

Let $\alpha \in (0,1)$ and $\beta \in (0,1)$. I want to compute the smallest integer $n > 0$ such that: $$ 1 - \alpha^n - [1 - \alpha]^n \geq \beta. $$ For example, with $\alpha = 0.75$ and $\beta =...
Michael Baudin's user avatar
-1 votes
1 answer
942 views

How to solve an Integer Programming problem using Gomory's Cutting Plane method, without using the Dual? This is a concept question. Im not opposed to using the dual in practice. Im just curious why ...
SquishyRhode's user avatar
0 votes
0 answers
236 views

big math dummy here hoping to get some advice. I'm working on a closed loop servo system that requires a curve fit on some feedback. The controller for this system is $16$-bit. With the help of excel ...
chrismec's user avatar
0 votes
1 answer
130 views

I am dealing with a CVRP with multiple vehicles. I am struggling to come up with a formula for the constraint that each node with a non zero demand must be visited by one vehicle, once. I am trying to ...
MltMath's user avatar
2 votes
0 answers
124 views

Problem. Let $x = (x_1,\dots,x_N) \in K^{N}$, i.e., each element $x_i$ can take at most $K$ discrete values. Let $x_{(i)}$, for $i \in \{1,\dots,I \}$ possible overlapping subsets of $x$. For example, ...
Apprentice's user avatar
0 votes
1 answer
142 views

Crossposted at Operations Research SE Is there an example of an $m\times n$ integer matrix $A$ and an integer vector $b\in \mathbb {Z}^{m}$ such that the polyhedron $P := \{ x\in \mathbb {R}^{n} \mid ...
Analyst_311419's user avatar
1 vote
1 answer
45 views

I want to find an approximation algorithm for the following problem. $\qquad$ Find a $S\subseteq N$ such that $\rho(S) = \frac{\sum_{i\in S}\ V_i}{(1+\sum_{i\in S}\ V_i)(4+\sum_{i\in S}\ V_i)}$ is ...
GPI's user avatar
  • 11
1 vote
1 answer
118 views

Let $I = J = \{1,\dots,n\}$. Define set $X \subset \Bbb R^{I \times J}$ as all $n \times n$ doubly stochastic matrices $x = (x_{ij})$ satisfying $$\sum_{j=1}^n x_{ij} = 1, \quad \forall i $$ $$\sum_{i=...
sam's user avatar
  • 131
2 votes
1 answer
130 views

I'm confused by how to analyse if a vector sequence is convergent or not. Here I first post the original problem as follows: (Although this post is long, the problem meaning is easy to understand but ...
BinChen's user avatar
  • 646
2 votes
1 answer
100 views

I'm trying to create a linear program to solve a scheduling problem, below is a description of the problem, I'll try my best to keep it short but comprehensive. The core of the problem is that a daily ...
Tiemo's user avatar
  • 23
1 vote
1 answer
818 views

From what I learned, the Lagrangian relaxation of an integer program is used to find a bound. Is the solution to the relaxed problem considered to be a good approximate solution of the original ...
MonteNero's user avatar
  • 365
2 votes
1 answer
160 views

I am reading the book "Integer Programming" by Wolsey (1998). In 1.4, the author is counting the number of the feasible subsets of a knapsack problem. The formulation is $\max \sum_{j=1}^n ...
Simplex's user avatar
  • 31
0 votes
1 answer
117 views

I am stuck in a constraint formulation of a discrete optimization problem. Consider a board of Cartesian grids (M rows by N columns). We are going to color some grids among them. There is a geometric ...
Pat_Guangtailang's user avatar
0 votes
1 answer
155 views

I'm using Java to solve a maximization problem in Cplex. My objective function is quite complex. In a nutshell, there are two parts, A and B. Both of them contain variables. My goal is to maximize A/B,...
John Z's user avatar
  • 11
2 votes
1 answer
326 views

I have a $2n\times 2n$ rational matrix $A$ for which I know can be diagonalized in the form $$A=MDM^{-1}$$ where $D$ is a $2n\times 2n$ matrix consisting of half eigenvalues $1$ and half eigenvalues $...
Cameron's user avatar
  • 289
2 votes
0 answers
73 views

Let $I, J$ be finite sets and $|I|=|J|=n$, Let $F$ be a Birkhoff polytope formed by the convex hull of $n\times n$ doubly stochastic matrices: $$F=\{R^{I\times J}_+: \sum_j x( i,j)=1,\forall i\in I, ...
sam's user avatar
  • 131
1 vote
1 answer
838 views

I am having trouble understanding the approximation algorithm for set cover using primal dual. The entire approximation algorithm in a nutshell. A set cover problem is given Form the integer linear ...
Julkar9's user avatar
  • 169
1 vote
1 answer
281 views

I have a question regarding how to formulate a constraint of an MILP. I have 2 platforms p and v(p) which are neighbours. Depending on the state of both of these platforms a specific value is chosen. ...
Christian's user avatar
1 vote
1 answer
160 views

I have the matrix below: $A=\begin{pmatrix} 0&1&0&0&0 \\ 0&1&1&1&1\\ 1&0&1&1&1\\ 1&0&0&1&0\\ 1&0&0&0&0\\ \end{pmatrix}.$ ...
Yash Kumar's user avatar
3 votes
1 answer
827 views

Given that the positive integers $x>1$ and $y$ satisfy $2007x-21y=1923$. Find sum of digits of minimum value of $2x+3y$. Here we have to solve for two variables using only one equation. How is ...
user avatar
1 vote
0 answers
72 views

I am currently working on the paper A branch-and-cut algrithm for the Edge Inderdiction Clique Problem. Basically, the problem asks to find a subset of at most $k$ edges to remove from a graph $G$, so ...
Graphitekt's user avatar
3 votes
1 answer
91 views

Given $x\in]0,1[$, let the function $f:\mathbb{N}^+\times\mathbb{N}\to\mathbb{R}$ be defined by $$ f(p,q) := x p - q $$ Is there an analytic formula for the minimum of $f$ under the constraint $$ f(p,...
Enrico's user avatar
  • 389
2 votes
2 answers
140 views

Let $x_{1}, x_{2}, x_{3} \in \mathbb{Z}^{++}$ (i.e., strictly positive integers). Suppose the following (in)equalities are given: \begin{align} x_{1} &\geq x^{\min}_{1} \tag1\\ x_{2} &\geq x^{\...
cbs's user avatar
  • 303
1 vote
1 answer
77 views

I need to define the dual of the assignment-like problem where the cost function is defined as the Hadamard product of two matrices $C=[c_{ij}]$ and $X=[x_{ij}]$ as follows: \begin{align} \text{...
LyLa's user avatar
  • 11

1 2 3
4
5
23