A polynomial algorithm for best-subset selection problem | Synapse