Searcharxiv⌕ Search

arXiv subjects

Jingyang Zhao

Publications and source records attributed to Jingyang Zhao.

22 records · Page 2Linked to original sources

A $5$-approximation Algorithm for the Traveling Tournament Problem

The Traveling Tournament Problem (TTP-$k$) is a well-known benchmark problem in tournament timetabling, which asks us to design a double round-robin schedule such that the total traveling distance of all $n$ teams is minimized under the constraints that each pair of teams plays one game in each other's home venue, and each team plays at most $k$-consecutive home games or away games. Westphal and Noparlik (Ann. Oper. Res. 218(1):347-360, 2014) claimed a $5.875$-approximation algorithm for all $k\geq 4$ and $n\geq 6$. However, there were both flaws in the construction of the schedule and in the analysis. In this paper, we show that there is a $5$-approximation algorithm for all $k$ and $n$. Furthermore, if $k \geq n/2$, the approximation ratio can be improved to $4$.

cs.DS↗

PanGu-Coder2: Boosting Large Language Models for Code with Ranking Feedback

Large Language Models for Code (Code LLM) are flourishing. New and powerful models are released on a weekly basis, demonstrating remarkable performance on the code generation task. Various approaches have been proposed to boost the code generation performance of pre-trained Code LLMs, such as supervised fine-tuning, instruction tuning, reinforcement learning, etc. In this paper, we propose a novel RRTF (Rank Responses to align Test&Teacher Feedback) framework, which can effectively and efficiently boost pre-trained large language models for code generation. Under this framework, we present PanGu-Coder2, which achieves 62.20% pass@1 on the OpenAI HumanEval benchmark. Furthermore, through an extensive evaluation on CoderEval and LeetCode benchmarks, we show that PanGu-Coder2 consistently outperforms all previous Code LLMs.

cs.CL↗

Practical Algorithms with Guaranteed Approximation Ratio for TTP with Maximum Tour Length Two

The Traveling Tournament Problem (TTP) is a hard but interesting sports scheduling problem inspired by Major League Baseball, which is to design a double round-robin schedule such that each pair of teams plays one game in each other's home venue, minimizing the total distance traveled by all $n$ teams ($n$ is even). In this paper, we consider TTP-2, i.e., TTP under the constraint that at most two consecutive home games or away games are allowed for each team. We propose practical algorithms for TTP-2 with improved approximation ratios. Due to the different structural properties of the problem, all known algorithms for TTP-2 are different for $n/2$ being odd and even, and our algorithms are also different for these two cases. For even $n/2$, our approximation ratio is $1+3/n$, improving the previous result of $1+4/n$. For odd $n/2$, our approximation ratio is $1+5/n$, improving the previous result of $3/2+6/n$. In practice, our algorithms are easy to implement. Experiments on well-known benchmark sets show that our algorithms beat previously known solutions for all instances with an average improvement of $5.66\%$.

cs.DS↗

A Further Improvement on Approximating TTP-2

The Traveling Tournament Problem (TTP) is a hard but interesting sports scheduling problem inspired by Major League Baseball, which is to design a double round-robin schedule such that each pair of teams plays one game in each other's home venue, minimizing the total distance traveled by all $n$ teams ($n$ is even). In this paper, we consider TTP-2, i.e., TTP with one more constraint that each team can have at most two consecutive home games or away games. Due to the different structural properties, known algorithms for TTP-2 are different for $n/2$ being odd and even. For odd $n/2$, the best known approximation ratio is about $(1+12/n)$, and for even $n/2$, the best known approximation ratio is about $(1+4/n)$. In this paper, we further improve the approximation ratio from $(1+4/n)$ to $(1+3/n)$ for $n/2$ being even. Experimental results on benchmark sets show that our algorithm can improve previous results on all instances with even $n/2$ by $1\%$ to $4\%$.

cs.DS↗