From 75ac67c7fc8218b1ae52c90a7265a559fc3a4f3d Mon Sep 17 00:00:00 2001
From: imcovangent <I.vanGent@tudelft.nl>
Date: Wed, 1 Aug 2018 16:26:40 +0200
Subject: [PATCH] Added algorithm to optimizer settings.

Former-commit-id: 635441814828f1c3bcde2e78293c5cd258d50f28
---
 kadmos/graph/graph_data.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/kadmos/graph/graph_data.py b/kadmos/graph/graph_data.py
index 14ec96ee6..269f098ff 100644
--- a/kadmos/graph/graph_data.py
+++ b/kadmos/graph/graph_data.py
@@ -5554,11 +5554,12 @@ class MdaoDataGraph(DataGraph, MdaoMixin):
                           architecture_role=self.ARCHITECTURE_ROLES_FUNS[1],
                           label=label,
                           instance=1,
-                          settings={'algorithm': 'Dakota Quasi-Newton method',
+                          settings={'package': 'SciPy',
+                                    'algorithm': 'SLSQP',
                                     'maximum_iterations': 1000,
                                     'maximum_function_evaluations': 1000,
-                                    'constraint_tolerance': 1e-4,
                                     'convergence_tolerance': 1e-4,
+                                    'constraint_tolerance': 1e-4,
                                     'apply_scaling': True})
         assert isinstance(design_variable_nodes, list)
         for des_var in design_variable_nodes:
-- 
GitLab