Questions tagged [optimization]
Questions about problems that entail selecting the best element from some set of available alternatives, and methods to solve them.
1,874 questions
-3 votes
0 answers
31 views
Can We Design Incentive-Compatible LLM Judge Certification Beyond Shared Information Invariants? [closed]
The TVD-MI (Total Variation Distance–Mutual Information) framework provides a reference-free method for certifying LLM judges—models that evaluate outputs like code correctness or theorem proofs ...
0 votes
1 answer
44 views
Best strategy with limited ability of memoization
Background The algorithm to calculate the n-th Fibonacci number using recursion is as follows: ...
2 votes
1 answer
49 views
Maximum cardinality matching with a priority order
Problem Setup Let's say we have a bipartite graph $(U, V)$ where the nodes of the graph are labelled with a positive integer and each edge $(u_i, v_i)$ has $u_i < v_i$. Our goal is to find a ...
4 votes
1 answer
103 views
How to find all maximal rectangles contained in a rectilinear shape on a discrete grid
I would like to find all the maximal rectangles contained in a rectilinear shape on a discrete grid. That is, every rectangle such that, if it were to grow by one cell in any direction, it would no ...
0 votes
0 answers
56 views
suprisingly complicated optimization problem
I have the following constrained (global) optimization problem: For a user defined sorted real values vector: xi = [xi(1), ... , xi(N+1)] I need to find an unknown vector: x = [x(1), ..., x(L)] where ...
1 vote
0 answers
64 views
Find a minimal binary tree that satisfies lowest common ancestor constraints
I want to find if there's a fast algorithm for the following: Given a set of lowest common ancestor constraints, find the smallest (fewest number of nodes) strict binary tree that satisfies all of ...
1 vote
2 answers
456 views
What is the most efficient algorithm for partitioning a list into roughly equal sections?
I started thinking about this problem while trying to find the best way to divide a book reading into $4$ roughly equal sections. I ended up brute-forcing every possible combination, but now I'm ...
0 votes
1 answer
87 views
Best mutations for Simulated Annealing on real graph
Here’s what I’m working on: I want to build routes that maximize my custom metrics. I don’t want to share the exact details of these metrics, but for every candidate route I calculate N metrics and I’...
1 vote
0 answers
71 views
NP-hardness proof densest 3-way partitioned weighted subgraph
I am investigating the complexity of the following problem: Let $G=(V,E,w)$ be a finite, simple, directed graph with a non-negative weight function $w:E\to\mathbb{R}_{\ge 0}$. A solution consists of ...
1 vote
0 answers
32 views
Graph labeling through optimization of a quadratic form
Given a simple unlabeled graph $G = (V,E)$ with vertices $V=\{1,\ldots,n\}$, let $L(G)$ a labeled graph obtained by labeling (with distinct labels) the vertices of $G$ through any $l: V \rightarrow V$ ...
1 vote
0 answers
47 views
Can stochastic optimization algorithms achieve convergence in $\Theta(N^{m^{1/s}} / \log^k N)$ with $m > 1, s > 1, k \gg m$? [closed]
This specific convergence rate with dominant logarithmic factors is indeed highly desirable for large-scale systems. While there's a rich body of work on stochastic approximation and equilibrium ...
0 votes
0 answers
38 views
Is my implementation of the Richard Korf's bidirectional iterative-deepening depth-first-search (BIDDFS) correct?
This post is about correctness of the BIDDFS (bidirectional iterative-deepening depth-first search). I got this idea from a Richard Korf's paper. Before answering, I suggest you first read this. My ...
-1 votes
1 answer
102 views
What is considered as Theoretical Computer Science?
I'm stuck on what is considered TCS. Are discrete optimization, combinatorial optimization, duality theory parts of TCS?
4 votes
0 answers
75 views
Remove contiguous 5th powers (5-fold repetitions) from list of 'a's and 'b's?
Given a list of characters in $\{a,b\}$, for example $abababababa$, what is the most efficient way to remove all 5th powers in a way that makes the string as short as possible? (This example would ...
1 vote
0 answers
63 views
Is optimizing a multivariate polynomial over a torus NP-hard?
Let $T$ be the torus of dimension $d$, i.e.: $$ T = \{(e^{i\varphi_1},\dots,e^{i\varphi_d}) : \varphi_k \in [0,2\pi)\} $$ Let $p(z_1,\dots,z_d)$ be a complex multivariate polynomial. How hard ...