Coverage for picos/constraints/uncertain/__init__.py: 100.00%

11 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2023-03-26 07:46 +0000

1# ------------------------------------------------------------------------------ 

2# Copyright (C) 2020 Maximilian Stahlberg 

3# 

4# This file is part of PICOS. 

5# 

6# PICOS is free software: you can redistribute it and/or modify it under the 

7# terms of the GNU General Public License as published by the Free Software 

8# Foundation, either version 3 of the License, or (at your option) any later 

9# version. 

10# 

11# PICOS is distributed in the hope that it will be useful, but WITHOUT ANY 

12# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 

13# A PARTICULAR PURPOSE. See the GNU General Public License for more details. 

14# 

15# You should have received a copy of the GNU General Public License along with 

16# this program. If not, see <http://www.gnu.org/licenses/>. 

17# ------------------------------------------------------------------------------ 

18 

19"""Constraint types with an explicit representation of data uncertainty.""" 

20 

21from ...apidoc import api_end, api_start 

22 

23_API_START = api_start(globals()) 

24# ------------------------------- 

25 

26 

27# TODO: UncertainConstraint base class? 

28from .ucon_ball_norm import BallUncertainNormConstraint # noqa 

29from .ucon_conic_aff import ConicallyUncertainAffineConstraint # noqa 

30from .ucon_mom_pwl import MomentAmbiguousExtremumAffineConstraint # noqa 

31from .ucon_mom_sqnorm import MomentAmbiguousSquaredNormConstraint # noqa 

32from .ucon_scen_conic import ScenarioUncertainConicConstraint # noqa 

33from .ucon_ws_pwl import WassersteinAmbiguousExtremumAffineConstraint # noqa 

34from .ucon_ws_sqnorm import WassersteinAmbiguousSquaredNormConstraint # noqa 

35 

36 

37# -------------------------------------- 

38__all__ = api_end(_API_START, globals())