To compare bariatric surgery versus intensive medical weight management ( MWM ) in patients with type 2 diabetes mellitus ( T2DM ) who do not meet current National Institutes of Health criteria for bariatric surgery and to assess whether the soluble form of receptor for advanced glycation end products ( sRAGE ) is a biomarker to identify patients most likely to benefit from surgery .