Skip to content

Commit

Permalink
Bounding simulations for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
1ozturkbe committed Sep 17, 2019
1 parent 2d47112 commit 6b554fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions robust/testing/t_simulation.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import numpy as np
import unittest
from gpkit.tests.helpers import run_tests
from gpkit import Model
from gpkit.constraints.bounded import Bounded

from robust.simulations import simulate
from robust.testing.models import simple_wing

class TestSimulation(unittest.TestCase):
def test_simulate(self):
model = simple_wing()
model = Model(model.cost, Bounded(model), model.substitutions)
number_of_time_average_solves = 3
number_of_iterations = 20
uncertainty_sets = ['elliptical']
Expand Down

0 comments on commit 6b554fc

Please sign in to comment.