/// <summary>
        /// Returns the mps as string
        /// </summary>
        /// <returns>mps as string</returns>
        public string ExportMPS()
        {
            if (!hasModel)
            {
                CreateModel();
            }

            // return solver.ExportModelAsLpFormat(false);
            return(solver.ExportModelAsMpsFormat(false, false));
        }
 public override void SaveModelToFile(string modelPath)
 {
     if (Path.GetExtension(modelPath).TrimStart('.').ToLower() == "lp")
     {
         File.WriteAllText(modelPath, Solver.ExportModelAsLpFormat(false));
     }
     else
     {
         File.WriteAllText(modelPath, Solver.ExportModelAsMpsFormat(true, false));
     }
 }