I wonder if you have an idea over the time complexity of the following problem, or a problem similar to this one (generally a selection problem)
[Assuming operations on integers take O(1) time]
We are given a set $N$ of $n$ items, that are subject to general precedence constraints (a partial order $E$ on $N$). The problem could then be represented by an acyclic directed graph $G(N,E)$ where the nodes represent items and edges represent precedence constraints. Each item has a selection cost $c_i$ that may be positive, zero, or negative. The objective is to find a subset $S \subseteq N$ of items that is precedence feasible, i.e., $\forall i \in S:\{j \in N|(j,i) \in E\}\subset S$, and minimizes the total selection cost $F(S)=\sum_{i \in S}c_i$.
I tried to find a reduction from CLIQUE or 3-Dimensional Matching, but I couldn't.
Thank you in advance :)