Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2994-AutoDiffForIntervals/Tests/ConstrainedNLRTest.cs @ 17300

Last change on this file since 17300 was 16831, checked in by gkronber, 6 years ago

#2994: made required changes to work with current trunk

File size: 764 bytes
Line 
1using System;
2using System.Collections.Generic;
3using HeuristicLab.Problems.DataAnalysis;
4using Microsoft.VisualStudio.TestTools.UnitTesting;
5using HeuristicLab.Algorithms.DataAnalysis;
6using HeuristicLab.Random;
7
8namespace Tests {
9  [TestClass]
10  public class ConstrainedNLRTestClass {
11    [TestMethod]
12    public void ConstrainedNLRTest() {
13      var modelStructure = "1.0*sqr(x)+1.0*x+1.0";
14      var problemData = new RegressionProblemData();
15//       problemData.IntervalConstraints.Value = new ParsedConstraint(
16// @"y in [0 .. 100]
17// ∂y/∂x in ]-inf. .. 0]
18// ", problemData);
19      var solution = ConstrainedNonlinearRegression.CreateRegressionSolution(problemData, modelStructure, 0, true, new FastRandom(1234));
20    }
21  }
22}
Note: See TracBrowser for help on using the repository browser.