Last change
on this file since 16317 was
16251,
checked in by gkronber, 6 years ago
|
#2925: implemented interface to CVODES solver with forward sensitivity calculation.
|
File size:
555 bytes
|
Line | |
---|
1 |
|
---|
2 | using HeuristicLab.Algorithms.GeneticAlgorithm;
|
---|
3 | using HeuristicLab.Persistence.Default.Xml;
|
---|
4 | using Microsoft.VisualStudio.TestTools.UnitTesting;
|
---|
5 |
|
---|
6 | namespace AutoDiffForDynamicalModelsTest {
|
---|
7 | [TestClass]
|
---|
8 | public class TestGA {
|
---|
9 | [TestMethod]
|
---|
10 | public void TestGAExecution() {
|
---|
11 | var ga = XmlParser.Deserialize<GeneticAlgorithm>("Genetic Algorithm (GA).hl");
|
---|
12 | var prob = (HeuristicLab.Problems.DynamicalSystemsModelling.Problem)ga.Problem;
|
---|
13 | prob.OdeSolver = "CVODES";
|
---|
14 | ga.Prepare();
|
---|
15 | ga.Start();
|
---|
16 | }
|
---|
17 | }
|
---|
18 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.