Learning-AugmentedAlgorithmsforOnlineLinear andSemidefiniteProgramming