@@ -17,7 +17,6 @@ jobs:
|
|||||||
- uses: http://localhost:3000/sxlxc/gitea-release-action@v1
|
- uses: http://localhost:3000/sxlxc/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
body: ''
|
body: ''
|
||||||
prerelease: true
|
|
||||||
name: PDF
|
name: PDF
|
||||||
token: ${{ secrets.RELEASE_TOKEN }}
|
token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
tag_name: latest
|
tag_name: latest
|
||||||
|
|||||||
25
.zed/tasks.json
Normal file
25
.zed/tasks.json
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
// Static tasks configuration.
|
||||||
|
//
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"label": "forward_search",
|
||||||
|
"command": "/Applications/Skim.app/Contents/SharedSupport/displayline -r -z -b $ZED_ROW $ZED_DIRNAME/$ZED_STEM.pdf",
|
||||||
|
"allow_concurrent_runs": false,
|
||||||
|
"reveal": "never",
|
||||||
|
"hide": "always"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "pdflatex_view",
|
||||||
|
"command": "cd \"$ZED_DIRNAME\" && pdflatex -shell-escape -synctex=-1 \"$ZED_STEM\" && /Applications/Skim.app/Contents/SharedSupport/displayline -r -z -b $ZED_ROW \"$ZED_STEM\".pdf",
|
||||||
|
"allow_concurrent_runs": false,
|
||||||
|
"reveal": "no_focus",
|
||||||
|
"hide": "on_success"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "latexmk_view",
|
||||||
|
"command": "cd \"$ZED_DIRNAME\" && latexmk -pdf \"$ZED_STEM\" && /Applications/Skim.app/Contents/SharedSupport/displayline -r -z -b $ZED_ROW \"$ZED_STEM\".pdf",
|
||||||
|
"allow_concurrent_runs": false,
|
||||||
|
"reveal": "no_focus",
|
||||||
|
"hide": "on_success"
|
||||||
|
}
|
||||||
|
]
|
||||||
34
main.tex
34
main.tex
@@ -1,29 +1,10 @@
|
|||||||
\documentclass[12pt]{article}
|
\documentclass[a4paper,11pt]{article}
|
||||||
\usepackage{chao}
|
\usepackage{chao}
|
||||||
\usepackage{algo}
|
\usepackage{algo}
|
||||||
|
|
||||||
\geometry{a4paper,margin=2cm}
|
\geometry{margin=2cm}
|
||||||
% \usepackage[breakable, theorems, skins]{tcolorbox}
|
|
||||||
% \tcbset{enhanced}
|
|
||||||
% \DeclareRobustCommand{\note}[2][blue]{%
|
|
||||||
% \begin{tcolorbox}[
|
|
||||||
% breakable,
|
|
||||||
% left=0pt,
|
|
||||||
% right=0pt,
|
|
||||||
% top=0pt,
|
|
||||||
% bottom=0pt,
|
|
||||||
% colback=white,
|
|
||||||
% colframe=#1,
|
|
||||||
% width=\dimexpr\textwidth\relax,
|
|
||||||
% enlarge left by=0mm,
|
|
||||||
% boxsep=5pt,
|
|
||||||
% arc=0pt,outer arc=0pt,
|
|
||||||
% ]
|
|
||||||
% #2
|
|
||||||
% \end{tcolorbox}
|
|
||||||
% }
|
|
||||||
|
|
||||||
\title{Connectivity Interdiction Notes}
|
\title{Faster FPTAS for Connectivity Interdiction}
|
||||||
\author{}
|
\author{}
|
||||||
\date{}
|
\date{}
|
||||||
|
|
||||||
@@ -40,7 +21,7 @@
|
|||||||
Note that $\mathcal F$ is usually not explicitly given.
|
Note that $\mathcal F$ is usually not explicitly given.
|
||||||
|
|
||||||
\begin{problem}[Normalized knapsack]\label{nknap}
|
\begin{problem}[Normalized knapsack]\label{nknap}
|
||||||
Given the same input as \autoref{bfreeknap}, find $\min \limits_{X\in \mathcal F, F\subset E} \frac{w(X\setminus F)}{B-c(F)}$ such that $c(F)\leq b$.
|
Given the same input as \autoref{bfreeknap}, find $\min \limits_{X\in \mathcal F, F\subset E} \frac{w(X\setminus F)}{B-c(F)}\; s.t.\; c(F)\leq b$.
|
||||||
\end{problem}
|
\end{problem}
|
||||||
In \cite{vygen_fptas_2024} the normalized min-cut problem use $B=b+1$. Here we use any integer $B>b$ and see how their method works.
|
In \cite{vygen_fptas_2024} the normalized min-cut problem use $B=b+1$. Here we use any integer $B>b$ and see how their method works.
|
||||||
|
|
||||||
@@ -364,8 +345,11 @@ It follows directly from the preceding lemma that $\lambda^*$ can be computed in
|
|||||||
|
|
||||||
Reweighting the graph takes linear time.
|
Reweighting the graph takes linear time.
|
||||||
Finding $<2$-approx mincut takes $\tilde O(n^3)$.
|
Finding $<2$-approx mincut takes $\tilde O(n^3)$.
|
||||||
An $1+\e$ approximate solution to knapsack can be found in time $\tilde O(m+\frac{1}{\e^2})$ \cite{10.1145/3618260.3649730}.
|
The total complexity is $\tilde O(m^2+n^3 T)$, where $T$ is the running time of FPTAS for 0-1 knapsack.\footnote{An $1+\e$ approximate solution to knapsack can be found in time $\tilde O(m+\frac{1}{\e^2})$ \cite{10.1145/3618260.3649730}.}
|
||||||
The total complexity is $\tilde O(mn^3+\frac{n^3}{\e^2})$.
|
|
||||||
|
\subsection{Avoid the parametric search}
|
||||||
|
The $m^2$ term in the complexity is hard to improve.
|
||||||
|
So we consider using binary search to find an $(1+\e)$-approximate $\lambda^*$.
|
||||||
|
|
||||||
\bibliographystyle{plain}
|
\bibliographystyle{plain}
|
||||||
\bibliography{ref}
|
\bibliography{ref}
|
||||||
|
|||||||
Reference in New Issue
Block a user