Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
decision problems that are at least as hard as NP-complete problems
1
vote
0
answers
59
views
Modify a binary matrix to minimize the sum of values of the rows
I have a matrix of zeros and ones, i.e., $\mathbf{X}=[x_{ij}]$ with $x_{ij}\in\{0,1\}$ for all $i=1,2,\ldots,m$ and $j=1,2,\ldots,n$. Associated with each row $i$ of the matrix $\mathbf{X}$ a set of …
1
vote
1
answer
171
views
Assigning Balls to Bins with Constraints on Which Ball to Go to Which Bin?
Let us say we have $m$ bins and $n$ balls. Every bin $i$ has capacity $c_i$ which is the number of balls that can be put into bin $i$. We have $c_i\geq1$ for all $i$. For each bin $i$, there is a coll …
3
votes
1
answer
234
views
Is the knapsack problem NP-hard when $v_i=i$?
The knapsack problem is NP-hard and can be formulated as:
$$\begin{align}&\text{maximize } \sum_{i=1}^n v_i x_i,\tag{P1}\\&
\text{subject to } \sum_{i=1}^n w_i x_i \leq W,\\&\text{and } x_i \in \{0,1\ …
3
votes
1
answer
585
views
Is this scheduling problem with arrival times, deadlines, and costs NP-hard?
There are $n$ jobs where each job $i$ has an arrival time $r_i$, a deadline $d_i$ and a cost $c_i$. The problem is to find a scheduling time $t_i$ (where $r_i\leq t_i\leq d_i$) for each job $i$ in ord …
3
votes
1
answer
301
views
Ordered set cover problem: is it NP-hard?
Given a set of elements $U=\{1,2,\ldots,n\}$ and a collection of $m$ sets $\{S_1,S_2,\ldots,S_m\}$ whose union equals $U$. Each element $e$ of a set $S_i$ has a weight $w_i(e)$. The weight $w(S_i)$ of …
1
vote
1
answer
47
views
Minimize the sum of gaps
I have a set of $n$ objects $\{1,2,\ldots,n\}$ where object $i$ has weight $w(i)$ and we have a capacity $W$. I would like to pick a subset $S=\{a_1,\ldots,a_m\}\subseteq \{1,2,\ldots,n\}$ of the obje …
2
votes
1
answer
139
views
Scheduling to minimize the truncated gaps
I have a single job of unit length, a set of $n$ slots, and a budget of $B$ units. If the job is scheduled at slot $t$, then it will consume $c(t)$ units of the budget $B$. If the job is not scheduled …
0
votes
1
answer
108
views
Multiple Knapsack Problem with Set of Admissible Balls
We have $m$ bins and $n$ balls.
Each bin $i=1,2,\ldots,m$ can contain at most two balls (not any two balls but two balls from some specific set), see 3.
Each ball $j=1,2,\ldots,n$ can be put into b …
1
vote
2
answers
620
views
Why this greedy algorithm does not return the optimal solution to this NP-hard problem?
Problem:
In the generalized assignment problem with unit-value items, there are $m$ bins of capacity $C$ each. There are $n$ items where each item $i$ has weight $w_{ij}$ with bin $j$. The objective i …
2
votes
1
answer
130
views
How to partition a set in order to minimize the number of the elements and their interactions?
Given two sets $S_1$ and $S_2$ of $n$ elements each. Each set $S_1$ (resp. $S_2$) has a revenue $R_1$ (resp. $R_2$). Each element $i$ of $S_1$ (resp. $S_2$) has a gain $g_{i1}$ (resp. $g_{i2}$). From …
1
vote
1
answer
2k
views
A Special Case of Multiple Choice Knapsack Problem: Is it NP-hard?
The multiple choice knapsack problem (MCKP) can be defined as follows:
MCKP is known to be NP-hard in general. I have a special case of MCKP for which
$N_i=\{1,2,\cdots,|N_i|\}$, for all $1\leqs …
1
vote
1
answer
71
views
Find a perfect matching with weights as close as possible to each other
Given a set of jobs $J$ and a set of machines $M$, where the link between machine $i\in M$ and job $j\in J$ has a positive weight $w_{ij}$. The problem is to select a perfect matching between the jobs …