Skip to main content

Questions tagged [computational-complexity]

Use for questions about the efficiency of a specific algorithm (the amount of resources, such as running time or memory, that it requires) or for questions about the efficiency of any algorithm solving a given problem.

Filter by
Sorted by
Tagged with
2 votes
0 answers
23 views

I am a network engineer currently studying optimization problems. Out of curiosity, I was fascinated by the fact that the Simplex Method has an exponential worst-case complexity, a property famously ...
Tuong Nguyen Minh's user avatar
5 votes
2 answers
631 views

I would like to clarify a misunderstanding I have about the proof that all NP problems can be solved in exponential time. The argument as I understand it is that you can simply test all possible ...
fern's user avatar
  • 319
0 votes
1 answer
45 views

Goal Prove that $f(n) = a_pn^p + a_{p-1}n^{p-1} + ... + a_1n + a_0$ is $\Theta(n^p)$ Issue I am having trouble proving $f(n)$ is $\Omega(n^p)$. I know I need a $c_0$ and $k$ such that $f(n) \ge c_0n^p$...
Kungfunk's user avatar
6 votes
0 answers
294 views

By merging together the contributions from: a) this answer, b) the comments under this answer, we come up to the following: Claim. For $n\in\mathbb N$, let $Q=(\{1,\dots,n\},*)$ be a quasigroup. Then, ...
Kan't's user avatar
  • 5,581
1 vote
0 answers
52 views

Prove that the zig-zag product of $G$ and $H$ (where $H$ is the smaller of the two) lifts $H^2$. I was reading Expander Graphs and their Applications (Lecture notes for a course by Nati Linial and ...
Raheel's user avatar
  • 1,811
2 votes
1 answer
99 views

We study equivalence classes of ternary matrices of size $m\times n$, where equivalence is defined via row permutations, column permutations, and negation of entire columns. Our goal is to define and ...
fgrieu's user avatar
  • 1,860
1 vote
0 answers
43 views

I am interested in enumerating all possible "elementary" cycles of a given graph $G=(V,E)$. What I mean by elementary here, is a notion that I have but am not sure what its called in ...
Jun_Gitef17's user avatar
0 votes
1 answer
35 views

Where to find the cost bound formulae for computing GCD of multivariate polynomials? I see such for $\mathbb{Z}[x]$ in "Modern Computer Algebra" by Gathen & Gerhard. But I need the case ...
mechvel's user avatar
  • 61
0 votes
1 answer
112 views

In "Understanding-Machine-Learning" by Shalev-Shwartz and Ben-David Section 6.8 Exercise 2.2 one has to determine $\text{VCdim}(\mathcal{H})$, where the hypothesis class is defined as $$ ...
n-0's user avatar
  • 147
7 votes
0 answers
124 views

Assume we have a finite field $F$ with $p^k$ elements. We start with a single non-zero element $x \in F$, and in one operation we can get the sum or product of any two elements we already have. We ...
mihaild's user avatar
  • 18k
0 votes
0 answers
85 views

I'd like to efficiently evaluate $\Pi_i^N\Pi_j^N\Pi_k^N(1 + a_ib_jc_k)$ without enumerating the $N^3$ terms by brute force. I was able to find an approach that achieves $O(Nlog^2(N))$ for the 2-...
Cody Tapscott's user avatar
2 votes
0 answers
176 views

I stumbled across the following question: Can one compute the double sum $$ \sum_{i = 1}^n \sum_{j:\ j <i}\ 1\{a_j > a_i\} 1\{b_j > b_i\} $$ in $O(n \log(n))$, where $$ (a_i)_{i = 1,..,n}, \...
Martin's user avatar
  • 620
1 vote
0 answers
29 views

I'm studying the reduction from the Closest Vector Problem (CVP) to its optimization variant (OptCVP) as presented in Theorem 8 of these lecture notes by Prof. Micciancio. The original reduction ...
Sunil Kumar's user avatar
0 votes
1 answer
104 views

Suppose we have given a 0.12 approximation algorithm for MAX-CLIQUE is an efficient algorithm that on an input graph G with optimal solution of size 𝑘, returns a clique of size at least 0.12⋅𝑘. My ...
Monte_carlo's user avatar
1 vote
0 answers
32 views

I’m studying the complexity of the Dominating Set problem under degree constraints. It’s well known that deciding whether a graph G has a dominating set of size k is NP‑complete in general. If such a ...
Joel Joseph KB's user avatar
0 votes
0 answers
70 views

I'm looking for a function $f \colon \mathbb{N} \to \mathbb{N}$ (or $\mathbb{R}^+ \to \mathbb{R}^+$) that satisfies: Sub-exponential growth: For every $a > c1$ for some positive c1, $f(n) = o(a^n)$...
Ersel Hengirmen's user avatar
1 vote
0 answers
49 views

Let $s$ be a string of length $n$, and let $L$ be a fixed integer. Suppose the following conditions hold: The string $s$ contains exactly $k$ palindromic substrings of length $L$ (they may overlap), ...
jam's user avatar
  • 137
0 votes
0 answers
40 views

Given a function $R$ that can be described with a minimal length binary program, its Kolmogorov complexity is the length of that program. If the function is invertible, can we make some statements ...
gphilip's user avatar
  • 21
0 votes
1 answer
154 views

This post is further to the post here. The analysis for the number of comparisons made by binary-search, for the average-case of Insertion-sort, is stated below. Also, C-implementation code is stated ...
jiten's user avatar
  • 4,972
0 votes
0 answers
64 views

In general, checking whether a system of bilinear equations over $\mathbb{F}_2$ has a solution is NP-hard, but I was wondering if the special structure of this problem allowed us to do better: Let $A$ ...
JAN's user avatar
  • 101
0 votes
0 answers
37 views

I am searching for a formula that determines the lowest number of strict decision nodes for finding one or multiple minimums from a random array of pre-determined size. The only input of the formula ...
sanitizedUser's user avatar
1 vote
0 answers
21 views

Background: there exists a proof for a mapping reduction of modified PCP(MPCP) to PCP (in MPCP you always start the answer sequence with the first domino). This proof (can be found online, from ...
Mel7's user avatar
  • 11
0 votes
1 answer
175 views

For the code here, the analysis for the order-of-time complexity is as follows: For the purpose of finding the time-complexity of the above program; the program statements of concern are: ...
jiten's user avatar
  • 4,972
-1 votes
3 answers
164 views

I learned from my university the following about big $O$, big $\Theta$, and big $\Omega$ notations and I would like to verify if what I learned is correct or not because all the other definitions I ...
Space.yg's user avatar
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

1
2 3 4 5
72