Convex duality and the Skorokhod Problem. I · Study