private void Init(MosekSimplexDirective directive) { if (!iparam.ContainsKey(mosek.iparam.optimizer)) { iparam[mosek.iparam.optimizer] = mosek.optimizertype.free_simplex; } }
public MosekSimplexSolverParams(Directive directive) : base(directive) { MosekSimplexDirective mosekDirective = directive as MosekSimplexDirective; if (mosekDirective != null) { Init(mosekDirective); } else { iparam[mosek.iparam.optimizer] = mosek.optimizertype.free_simplex; } }
public MosekSimplexSolverParams(MosekSimplexDirective directive) : base(directive) { Init(directive); }