private void Init(MosekSolverDirective directive) { directive.GetMosekParameters(iparam); directive.GetMosekParameters(sparam); directive.GetMosekParameters(dparam); listeners = directive.GetListeners(); TaskDumpFileName = directive.TaskDumpFileName; }
public MosekSolverParams(Directive directive) { MosekSolverDirective mosekDirective = directive as MosekSolverDirective; if (mosekDirective != null) { Init(mosekDirective); } }
/// <summary> Initialize parameters from Directive. </summary> public MosekSolverParams(MosekSolverDirective directive) { Init(directive); }