US President Barack Obama congratulated his Republican opponents Wednesday on their midterm election victory and promised to work constructively with them in Congress for the next two years.