示例#1
0
 private void Init(MosekSolverDirective directive)
 {
     directive.GetMosekParameters(iparam);
     directive.GetMosekParameters(sparam);
     directive.GetMosekParameters(dparam);
     listeners        = directive.GetListeners();
     TaskDumpFileName = directive.TaskDumpFileName;
 }
示例#2
0
        public MosekSolverParams(Directive directive)
        {
            MosekSolverDirective mosekDirective = directive as MosekSolverDirective;

            if (mosekDirective != null)
            {
                Init(mosekDirective);
            }
        }
示例#3
0
 /// <summary> Initialize parameters from Directive. </summary>
 public MosekSolverParams(MosekSolverDirective directive)
 {
     Init(directive);
 }