This is (almost) a solution using xcolor
, colortbl
, hhline
, makecell
and cellspace
. However there remains in the bottom multirow a small zone that is not coloured, along the vertical line – and I don't understand.
Nevertheless, here is the code, in the hope someone will improve it:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{fourier, heuristica}
\usepackage{graphicx}
\usepackage{array, multirow}
\usepackage{colortbl}
\usepackage[x11names]{xcolor}
\usepackage{hhline}
\usepackage{makecell}
\renewcommand\theadfont{\itshape}
\usepackage{cellspace}
\setlength\cellspacetoplimit{5pt}
\setlength\cellspacebottomlimit{5pt}
\begin{document}
\begin{table}[h]
\centering
\begin{tabular}{c|Sl|*{4}{r|}}
\rowcolor{LightSteelBlue4!10!} \thead{\rotatebox{90}{Instances}} & \thead{Algorithm} & \thead{Size of the\\ solution set} & \thead{Non-dominated\\ solutions to\\ Problem 13 in \\ $ O₁ \cup O₂ $} & \thead{Non-strictly-\\outranked\\ solutions in \\$ O₁ \cup O₂ $} & \thead{Non-dominated\\ solutions to \\ Problem 15 in \\ $ O₁ \cup O₂ $} \\
\hline
\multirowcell{2}{1} & SS-PPS & 4996 & 4819 & 10 & 0 \\
\hhline{~|-----} \hhline{~|-----}
& NO-ACO II & 19 & 19 & 19 & 1 \\
\hline
\rowcolor{LightSteelBlue4!10!}\multirowcell{2}{2} & SS-PPS & 4997 & 4878 & 12 & 0 \\
\hhline{~|-----} \hhline{~|-----}
\rowcolor{LightSteelBlue4!10!}{} & NO-ACO II &15 & 15 & 15 & 1 \\
\hline
\end{tabular}%
\end{table}
\end{document}
