using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Common { public class Model { public Model() { } // A copy constructor so that we can clone Model objects without reference public Model(Model model) { this.ProblemType = model.ProblemType; this.ObjectiveFunction = model.ObjectiveFunction; this.Constraints = model.Constraints; this.SignRestrictions = model.SignRestrictions; this.Result = model.Result; } public ProblemType ProblemType { get; set; } public ObjectiveFunction ObjectiveFunction { get; set; } = new ObjectiveFunction(); public List Constraints { get; set; } = new List(); public List SignRestrictions { get; set; } = new List(); public List>> Result { get; set; } = new List>>(); } }