Coverage for picos/modeling/__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) 2019 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"""Optimization problem modeling toolbox.""" 

20 

21from ..apidoc import api_end, api_start 

22 

23_API_START = api_start(globals()) 

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

25 

26 

27from .footprint import Footprint, Specification # noqa 

28from .objective import Objective # noqa 

29from .options import Options # noqa 

30from .problem import Problem, SolutionFailure # noqa 

31from .solution import Solution # noqa 

32from .strategy import NoStrategyFound, Strategy # noqa 

33from .quicksolve import find_assignment, maximize, minimize # noqa 

34 

35 

36# -------------------------------------- 

37__all__ = api_end(_API_START, globals())