Skip to main content

Questions tagged [integer-programming]

Questions on optimization constrained to integer variables.

Filter by
Sorted by
Tagged with
0 votes
1 answer
84 views

Translating to English from a non-English physics book about measurements: Anif has $8$ big marbles and $15$ small marbles. The weight of the big and small marbles are $37.5$ and $12.5$ respectively. ...
user516076's user avatar
  • 2,491
2 votes
2 answers
102 views

Hi I am a math major and I am trying to solve a challenging math problem. The tools needed to solve this are in the field of computer science and coding. I am okay at programming, however I need some ...
Erock Brox's user avatar
0 votes
1 answer
95 views

Create a closed tour visiting the numbers. The tour must start and end at the same cell. During the tour, you can only visit the neighboring cell (up,down,left,right). The tour cannot contain a number ...
Oytunxxx's user avatar
0 votes
1 answer
107 views

I am working on a 2D covering problem and would appreciate some insights or references to relevant mathematical concepts. The Problem The goal is to completely cover a $98 \times 98$ grid using the ...
obsidrielle's user avatar
0 votes
0 answers
36 views

Let $d\in \mathbb{N}$ be a fixed constant. Let $V\subseteq \{-1,0,1\}^d$ be some set of vectors and let $w\in \mathbb{Z}^d$. Consider the linear program find $ x\in \mathbb{R}^V $ such that: $ \sum_{v\...
ajdy's user avatar
  • 101
0 votes
0 answers
59 views

I am searching for the definition of a minimal system of equations for a polytope. Specifically, I am studying a variant of the graph colouring problem, and in Braga et al.$\color{magenta}{^\star}$ ...
m6rco's user avatar
  • 43
1 vote
2 answers
158 views

Given a matrix $A \in \mathbb{R}^{m \times n}$, I want to find a vector $\vec{x} \in \mathbb{N}_{+}^{m}$ so $\vec{y} = {A}^{T} \vec{x}$ is nearly a constant vector, i.e., the values of $\vec{y}$ are ...
Avi T's user avatar
  • 393
2 votes
1 answer
171 views

Consider a matrix $\mathbf{A} \in \{0, 1\}^{K \times N}$ and a vector $\mathbf{b} \in \mathbb{Z}_{>0}^{K \times 1}$ (i.e., elements of $\mathbf{A}$ are either $0$ or $1$, and elements of $\mathbf{b}...
Andrew Follett's user avatar
3 votes
1 answer
81 views

I'm working on an ILP formulation that's supposed to find the best scoring set of routes on a given turn in a 18xx-style board game (in this particular case, Shikoku 1889) Problem description To ...
Kulpas's user avatar
  • 113
0 votes
1 answer
55 views

I'm struggling to model this constraint for a problem: $$x_C^4 = 1 \implies (x_A^4 + x_B^4 \geq 1 \land x_A^1 + x_B^1 = 0) \;\lor\; x_A^2x_B^3 = 1 \;\lor\;x_A^3x_B^2=1.$$ where all variables are ...
ten_to_tenth's user avatar
  • 2,129
2 votes
2 answers
131 views

Consider the following LP program $$ \min x_{n+1} $$ subject to: $$ \sum_{i=0}^n 2 x_i + x_{n+1} = n $$ $$ x_i \in \{ 0, 1 \} $$ And $n$ odd. The claim is that using the standard B&B algorithm ...
aram's user avatar
  • 2,005
2 votes
1 answer
87 views

Is there a standard optimal way to enforce the finite lattice (order) definition in an Integer Linear Program, for a lattice with a given number of elements $n$? I have tried a web search but with no ...
Fabius Wiesner's user avatar
0 votes
1 answer
57 views

I confused myself into a hole here, so just need to see what I am missing. So, in the Gomory fractional cut cutting plane algorithm you use the basis to generate a new cut. How come it does not ...
Alex's user avatar
  • 176
2 votes
0 answers
62 views

I have a lot of integer vectors $v_1=(a_1,b_1),v_2=(a_2,b_2),\dots,v_n=(a_n,b_n)$ and vector $(a,b)$. I need to find integer linear combination, s.t. $c_1v_1+\dots+c_nv_n=(a,b)$. Is there a smart way ...
greg's user avatar
  • 37
-1 votes
1 answer
77 views

Given a soccer league with 9 teams, is it possible to calculate the minimum number of weeks needed for each team to play each other twice, with the following restrictions: Each week, a maximum of 2 ...
Brett Van Tassel's user avatar
1 vote
1 answer
86 views

Matrix Properties Considering all $N \times N$ matrices $ M = \{ m_{i,j} \}$ with the following properties: Elements are 0 or 1. So $ m_{i,j} \in \{0,1\}$ Diagonal elements are always 1. So $m_{i,i} =...
Amral's user avatar
  • 43
0 votes
1 answer
44 views

Suppose we have $$ S := \{x\in\mathbb{N}^{d}:Ax=b\}\subseteq\mathbb{N}^{d} $$ for some $k,d\in\mathbb{N}, b\in\mathbb{N}^{k}, A\in\mathbb{N}^{k\times d}$. The set $\mathbb{N}^{d}$ is partially ordered ...
David's user avatar
  • 163
0 votes
0 answers
23 views

There is this nice classical theorem that says that, if $C \subseteq \mathbb{R}^d$ is a polyhedral cone, then $C \cap \mathbb{Z}^d$ is a finintely generated semigroup. I have the intuition that the ...
Daniel W.'s user avatar
  • 1,892
0 votes
1 answer
50 views

How to choose $x$ positive integer such that $x*2024^n$ has uneven number of digits for the longest time? For example, if $x=1$, at $n=1$, I already have an even number of digits. With $x=7$, I have ...
FluidMechanics Potential Flows's user avatar
0 votes
0 answers
53 views

I'm writing a Python program to calculate the maximum value of a polynomial $p * (1 + (d * (1 + (o * (1 + g))))$, subject to the constraints that $p$, $d$, $o$ and $g$ are all positive integers, and $...
ayaan098's user avatar
1 vote
0 answers
51 views

Given random value vectors $X_i \in \mathbb{F}_2^n$, for $i = 1, 2, \ldots, m$, and a target range $[a, b]$, the objective is to efficiently find all solutions to the inequality $a \leq w_H\left(\sum_{...
Wuwuwu's user avatar
  • 11
0 votes
1 answer
129 views

I’m trying to prove that every matrix with the consecutive ones property is totally unimodular. A matrix has the consecutive ones property if every row is of the form $(0,\ldots ,0,1, \ldots , 1, 0, \...
TraKar's user avatar
  • 3
0 votes
1 answer
92 views

I need to maximize the following expressions: $mn-n^2$ given $0\lt m^2+n^2 < d$, where $d$ is given to me. I am also given that $m$ and $n$ are both integers and that $gcd(m, n) = 1$. I am unsure ...
user avatar
1 vote
1 answer
76 views

Which methods (classic/modern) are utilised to solve multi-objective optimisation problems compatible with linear programming (LP) and mixed-integer linear programming. Utilised in the context of time ...
baxbear's user avatar
  • 265
1 vote
2 answers
80 views

The question goes as follows: Given a directed graph $G = (V, A)$ with weights $w_v$ on the vertices for $v ∈ V$. Describe the problem of finding a closed subset of vertices with maximum weight as an ...
KaTee's user avatar
  • 39
2 votes
2 answers
88 views

Suppose we have a set of variables $X_i, i=1..n, n \in \Bbb{N}$ and a set $E$ of linear equations in them: $$ \sum_{i = 1}^n \lambda^j_i X_i = C_j \in \Bbb{Z} \\ j=1..m $$ Then define $\textbf{Aut}(E) ...
Luna's Chalkboard's user avatar
0 votes
0 answers
70 views

The situation is : There are n bulbs and m power sources. The j-th power source has a failure probability of $P_j$. Each bulb is connected to 3 power sources, and only $\frac{3n}{m}$ bulbs can be ...
ZhuJerry's user avatar
0 votes
1 answer
99 views

I'm interested in the one-parameter family of optimization problems, parametrized by $m \in \mathbf{Z}^+$ $$\max_{n, x_1,x_2,\dots,x_n \in \mathbf{Z}^+ \\ x_1+x_2+\cdots + x_n=m} \sum_{i=1}^{n-1} \...
user1337's user avatar
  • 25k
1 vote
1 answer
190 views

The question: "given a set $S = \{x \in \mathbb{Z}^2 : 4x_1 + x_2 ≤ 28, x_1 + 4x_2 ≤ 27, x_1 − x_2 ≤ 1, x ≥ 0 \}$. we are tasked with deriving each facet of $\operatorname{conv}(S)$ as a Chvatal-...
alex's user avatar
  • 13
0 votes
0 answers
142 views

Is there an easy way to show that given a lattice $\Lambda \subset \mathbb{R}^n$ of full rank, exists a basis where each vector has norm $\lambda_i$ i.e the i-th successive minima ($\lambda_i(\Lambda)=...
jacopoburelli's user avatar
0 votes
1 answer
109 views

Given a target list $T = (t_1, t_2, \ldots, t_N)$ and a multiset $S = \{s_1, s_2, \ldots, s_M\}$, both with non-negative integer elements, $t_k\in \mathbb{N}_>$ and $s_k\in \mathbb{N}_>$, ...
daysofsnow's user avatar
0 votes
1 answer
88 views

In my homework assignment there is a task which wants you to show that for specific integer programs Branch&Bound could run forever. One could just choose the relaxation of the IP to be some kind ...
Sen90's user avatar
  • 477
1 vote
1 answer
206 views

Consider the following model of computation: The computer's memory consists of $n$ registers denoted $r_1, ..., r_n$, each holding an integer. In the following, an affine combination means an ...
Naomi Zhang's user avatar
3 votes
1 answer
73 views

I have this expression $(x \geq 1) \vee(x=0 \,\wedge\, y -z \geq 1)$ which I am solving over the nonnegative integers $x,y,z \in \mathbb{Z}_0^+$. I suspect it is impossible to find a system of linear ...
user326210's user avatar
  • 19.3k
1 vote
1 answer
53 views

If I have a convex set $Q\subseteq \mathbb{R}^n$ and a cone $E\subseteq \mathbb{R}^n$. Let $Q_I = conv\{Q \cap \mathbb{Z}^n\}$ and $E_I$ respectively. Is it in general the case that $Q_I + E_I \...
Sen90's user avatar
  • 477
0 votes
1 answer
80 views

I am currently reading this wikipedia article about the set cover problem and it said here that "it cannot be approximated to $\left[ {1 - o\left( 1 \right)} \right]\ln \left( n \right)$ unless $...
Tuong Nguyen Minh's user avatar
1 vote
1 answer
103 views

I am an engineer who is currently working in network optimization problem. I have finised my master degree a long time ago. During my studies I have learnt about the penalty technique to turn a ...
Tuong Nguyen Minh's user avatar
2 votes
2 answers
48 views

I'm trying to understand this case study: https://github.com/DorisRipley/Art-Exhibition-Optimization-A-BIP-Modeling-Approach/blob/main/Art%20Exhibition%20Optimization.pdf and I'm having trouble with ...
Sergio Morales's user avatar
1 vote
1 answer
293 views

Currently working on an optimization problem using pyomo. One constraint I need to make is to limit the number of times a situation occurs - Essentially when my variable x = 0. So I would like an ...
Bahumat's user avatar
  • 13
0 votes
3 answers
148 views

Question: I am faced with minimizing a specific sum: $$ \sum_{i=1}^{L} a_i x_i $$ $L$, $x_i$ and $K$ are given. So the question is reduced to choosing proper $a$. Constrains on $a$: $a_1$ = 1. $a_i = ...
Umbra's user avatar
  • 55
3 votes
0 answers
81 views

For fun, I explored vertex enumeration algorithms for linear programs to find all feasible extreme points in a polytope. Naturally, I asked, "Do there exist algorithms that solve for all integer ...
JJMae's user avatar
  • 2,157
1 vote
0 answers
103 views

I need to find the vector $\hat{n}=[n_1 \; n_2 \; \cdots \; n_N]$, all integers,such that $1\leq n_i \leq Z$, $\forall i$ (with $Z$ also integer) that minimizes the following function: $F=\frac{1}{N}\...
Garbt's user avatar
  • 89
1 vote
1 answer
63 views

I've recently asked this question about dividing n people into m groups for the specific model I used to solve the assignment problem of dividing the people into groups (boolean variables xij that ...
Zufra's user avatar
  • 197
1 vote
1 answer
32 views

Let us assume I have a sequence of numbers $\{n_1,n_2\cdots, n_k\}$ which I want to approximate / represent like so: $$\hat n_i = a_i x + b_i :,\\ a_i \in \mathbb Z^+,b_i\in \mathbb Z\\\text{so that}\\...
mathreadler's user avatar
  • 26.7k
2 votes
1 answer
116 views

I have modeled the problem of dividing n people into m groups using a binary $nxn$ matrix that we will call X. If $x_{ij} = 1$ it means that person i is with person j in the solution's groups. If $x_{...
Zufra's user avatar
  • 197
1 vote
1 answer
117 views

Let's consider a competition with $n$ questions. Each question has a price $p_i$ and a score $v_i$. To advance to the next round of the competition, we need to accumulate a minimum score of $D$. We ...
occasional's user avatar
3 votes
1 answer
276 views

I have the following system of equations, for $i$ in $1,\ldots,n$: $$ \mathbf{a_i} \cdot \mathbf{x} = y $$ The variables are $\mathbf{x}$ - a vector of $n$ non-negative integers, and $y$ - a positive ...
Erel Segal-Halevi's user avatar
6 votes
1 answer
231 views

I was reading McGuire's paper on why the minimum number of clues in a Sudoku puzzle is 17 when I came across a curious comment: In 2008, a 17-year-old girl submitted a proof of the nonexistence of a ...
Fateh A.'s user avatar
  • 424
3 votes
1 answer
74 views

During a class assignment, I was presented with the following question: Provide an integer program that has an exponential number of branches...(expunged excess) ...
JJMae's user avatar
  • 2,157
0 votes
0 answers
108 views

I'm trying to understand how the LLL algorithm works and I've stumbled upon the following question: Suppose I have $B = (b_1,\cdots,b_n)$ vectors and I perform Gram Schmidt process obtaining $(v_{1},\...
jacopoburelli's user avatar

1
2 3 4 5
23