hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8757f1428a8a127f5ffc412dd30fac1f77be1d47 | 106 | py | Python | app/script.py | tallywiesenberg/spotter-blocker | 1fffd3c62a4b3d5c7964694455e4beb08e6bc8cc | [
"MIT"
] | null | null | null | app/script.py | tallywiesenberg/spotter-blocker | 1fffd3c62a4b3d5c7964694455e4beb08e6bc8cc | [
"MIT"
] | null | null | null | app/script.py | tallywiesenberg/spotter-blocker | 1fffd3c62a4b3d5c7964694455e4beb08e6bc8cc | [
"MIT"
] | null | null | null | import edits
from edits import PageEditor
pe = PageEditor(keyword='spider', orientation='block')
pe.edit() | 26.5 | 54 | 0.783019 | 14 | 106 | 5.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 106 | 4 | 55 | 26.5 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
876c1cba6f1447d0c88950330beca198b83d45a2 | 1,148 | py | Python | ace/api/apikey.py | ace-ecosystem/ace2-core | a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53 | [
"Apache-2.0"
] | null | null | null | ace/api/apikey.py | ace-ecosystem/ace2-core | a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53 | [
"Apache-2.0"
] | 11 | 2020-12-30T03:13:09.000Z | 2021-05-02T14:09:32.000Z | ace/api/apikey.py | ace-ecosystem/ace2-core | a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53 | [
"Apache-2.0"
] | 1 | 2022-03-16T20:44:16.000Z | 2022-03-16T20:44:16.000Z | from dataclasses import dataclass, asdict
from typing import Optional
from ace.data_model import ApiKeyModel
@dataclass
class ApiKey:
# the api key value
api_key: str
# the unique name of the api key
name: str
# optional description of the api key
description: Optional[str] = None
# is this an admin key?
is_admin: bool = False
def __post_init__(self):
if not self.name:
raise TypeError("name must be a non-zero length string")
#
# json serialization
#
def to_model(self, *args, **kwargs) -> ApiKeyModel:
return ApiKeyModel(**asdict(self))
def to_dict(self, *args, **kwargs) -> dict:
return self.to_model(*args, **kwargs).dict()
def to_json(self, *args, **kwargs) -> str:
return self.to_model(*args, **kwargs).json()
@staticmethod
def from_dict(value: dict) -> "ApiKey":
data = ApiKeyModel(**value)
return ApiKey(**data.dict())
@staticmethod
def from_json(value: str) -> "AnalysisModuleType":
assert isinstance(value, str)
return ApiKey.from_dict(ApiKeyModel.parse_raw(value).dict())
| 25.511111 | 68 | 0.641986 | 146 | 1,148 | 4.931507 | 0.390411 | 0.069444 | 0.0375 | 0.030556 | 0.075 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246516 | 1,148 | 44 | 69 | 26.090909 | 0.83237 | 0.108885 | 0 | 0.076923 | 0 | 0 | 0.060099 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.230769 | false | 0 | 0.115385 | 0.115385 | 0.730769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5e46f80a0abf6d46a670b3af094045db0fa09d23 | 188 | py | Python | packages/mono-basic.py | bratsche/bockbuild | 04d583550aa8e067f84dcc081be61fd1a78d71e3 | [
"MIT"
] | null | null | null | packages/mono-basic.py | bratsche/bockbuild | 04d583550aa8e067f84dcc081be61fd1a78d71e3 | [
"MIT"
] | null | null | null | packages/mono-basic.py | bratsche/bockbuild | 04d583550aa8e067f84dcc081be61fd1a78d71e3 | [
"MIT"
] | null | null | null | GitHubTarballPackage ('mono', 'mono-basic', '3.0', 'a74642af7f72d1012c87d82d7a12ac04a17858d5',
configure = './configure --prefix="%{prefix}"',
override_properties = { 'make': 'make' }
)
| 37.6 | 94 | 0.702128 | 15 | 188 | 8.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170588 | 0.095745 | 188 | 4 | 95 | 47 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.515957 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5e53e4790d5e3d2607bf9ed89a38c5fb7cca5a0c | 1,999 | py | Python | src/data_generators/pricing_generator.py | pasin30055/planning-evaluation-framework | ba5fc3b553fee0b4f5beb50076ecaa7b634dac23 | [
"Apache-2.0"
] | null | null | null | src/data_generators/pricing_generator.py | pasin30055/planning-evaluation-framework | ba5fc3b553fee0b4f5beb50076ecaa7b634dac23 | [
"Apache-2.0"
] | null | null | null | src/data_generators/pricing_generator.py | pasin30055/planning-evaluation-framework | ba5fc3b553fee0b4f5beb50076ecaa7b634dac23 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The Private Cardinality Estimation Framework Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Associate random pricing information to impression data."""
from typing import List
from typing import Tuple
class PricingGenerator:
"""Associates random pricing information to impression data.
This class, along with ImpressionGenerator, assists in the generation of
random PublisherDataFiles. The PricingGenerator will associate random
prices to the impressions generated by the ImpressionGenerator.
"""
def __init__(self):
"""Constructor for the PricingGenerator.
This would typically be overridden with a method whose signature
would specify the various parameters of the pricing distribution
to be generated.
"""
pass
def __call__(self, impressions: List[int]) -> List[Tuple[int, float]]:
"""Generate a random sequence of prices.
Args:
impressions: A list of user id's, with multiplicities, to which
pricing data is to be associated.
Returns:
A list of pairs (user_id, total_spend). The length of the list would
be the same as the list of impressions, and user_id's would be in 1-1
correspondences with those in the list of impressions. Associated to
each user_id is the total spend amount at which the impression would be
included in those shown by the advertiser.
"""
pass
| 39.196078 | 81 | 0.711356 | 271 | 1,999 | 5.202952 | 0.483395 | 0.042553 | 0.01844 | 0.022695 | 0.056738 | 0.056738 | 0 | 0 | 0 | 0 | 0 | 0.006553 | 0.236618 | 1,999 | 50 | 82 | 39.98 | 0.917431 | 0.797899 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5e94ee09424c092167e8b387cf605930cd27a367 | 1,388 | py | Python | tests/sqlstore_tests.py | tistaharahap/oauth1-provider | c7059bce68734744d0aa3b83ecb218865a5c1341 | [
"MIT"
] | 1 | 2017-06-26T07:36:03.000Z | 2017-06-26T07:36:03.000Z | tests/sqlstore_tests.py | tistaharahap/oauth1-provider | c7059bce68734744d0aa3b83ecb218865a5c1341 | [
"MIT"
] | null | null | null | tests/sqlstore_tests.py | tistaharahap/oauth1-provider | c7059bce68734744d0aa3b83ecb218865a5c1341 | [
"MIT"
] | null | null | null | import with_sql as sqlprovider
import unittest
class SQLStoreTestCase(unittest.TestCase):
def setUp(self):
sqlprovider.app.config['TESTING'] = True
self.app = sqlprovider.app.test_client()
def error_mime_json(self):
return "Return payload data must be a JSON String"
def error_none(self):
return "Return must not be None"
def error_string(self):
return "Return must be a JSON String"
def error_200(self):
return "Not returning HTTP 200"
def error_404(self):
return "Not returning HTTP 404"
def get_unixtime(self):
import time
return int(time.time())
class XAuthTestCase(SQLStoreTestCase):
def test_app_is_not_none(self):
self.assertIsNotNone(self.app, msg=self.error_none())
def test_failed_without_oauth(self):
post = self.app.post('/oauth/access_token', data=dict(
username='username',
password='password'
), follow_redirects=True)
self.assertEqual(post.status_code, 400, msg='400 not given for naked auth without consumer token key')
class ProtectedResourceTestCase(SQLStoreTestCase):
def test_user_profile_without_auth(self):
get = self.app.get('/user/tista', follow_redirects=True)
self.assertEqual(get.status_code, 403, msg='403 not given for naked auth without consumer token key') | 28.916667 | 110 | 0.683718 | 181 | 1,388 | 5.099448 | 0.375691 | 0.043337 | 0.052004 | 0.023835 | 0.277356 | 0.147346 | 0.147346 | 0.093174 | 0.093174 | 0 | 0 | 0.022284 | 0.224063 | 1,388 | 48 | 111 | 28.916667 | 0.834726 | 0 | 0 | 0 | 0 | 0 | 0.215263 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.3125 | false | 0.03125 | 0.09375 | 0.15625 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5eb46db6b4f0d64982209cc3ae42fc847fe7c287 | 84 | py | Python | google_play_scraper/constants/google_play.py | mrommel/google-play-scraper | 3bfcef87bc754192162841bc057919762b8bf548 | [
"MIT"
] | null | null | null | google_play_scraper/constants/google_play.py | mrommel/google-play-scraper | 3bfcef87bc754192162841bc057919762b8bf548 | [
"MIT"
] | null | null | null | google_play_scraper/constants/google_play.py | mrommel/google-play-scraper | 3bfcef87bc754192162841bc057919762b8bf548 | [
"MIT"
] | null | null | null | from enum import Enum
class Sort(int, Enum):
NEWEST = 2
MOST_RELEVANT = 1
| 12 | 22 | 0.654762 | 13 | 84 | 4.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.27381 | 84 | 6 | 23 | 14 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5eb917289cf2645c455634d8b05490fcdaf7e3cd | 2,616 | py | Python | emissor/processing/api.py | cltl/GMRCAnnotation | cc4c7f0c9cbbce0eb6c7dee4d39d128f91b85839 | [
"MIT"
] | null | null | null | emissor/processing/api.py | cltl/GMRCAnnotation | cc4c7f0c9cbbce0eb6c7dee4d39d128f91b85839 | [
"MIT"
] | 18 | 2021-01-12T15:18:07.000Z | 2021-03-23T12:30:57.000Z | emissor/processing/api.py | cltl/EMISSOR | 68504c859c36b1b65b2c0002d065028b3d5b5d08 | [
"MIT"
] | null | null | null | from abc import ABC
from typing import Iterable, Any, Tuple, Mapping
from emissor.persistence import ScenarioStorage
from emissor.persistence.persistence import ScenarioController
from emissor.representation.scenario import Signal, Modality
class DataPreprocessor(ABC):
def preprocess(self):
raise NotImplementedError("")
@property
def name(self) -> str:
return self.__class__.__name__
def __enter__(self):
pass
def __exit__(self, exc_type, exc_val, exc_tb):
pass
class ScenarioInitializer(ABC):
def initialize_scenario(self, scenario_id: str, storage: ScenarioStorage):
raise NotImplementedError("")
def initialize_modality(self, scenario: ScenarioController, modality: Modality):
raise NotImplementedError("")
@property
def name(self) -> str:
return self.__class__.__name__
@property
def parallel(self) -> bool:
return False
def __enter__(self):
pass
def __exit__(self, exc_type, exc_val, exc_tb):
pass
def scenario_key(self, storage: ScenarioStorage) -> Any:
return None
class SignalProcessor(ABC):
def process_signal(self, scenario: ScenarioController, signal: Signal):
raise NotImplementedError("")
def process_signals(self, scenario: ScenarioController, signals: Mapping[Modality, Iterable[Signal]]):
for modality, signals in signals.items():
for signal in signals:
self.process_signal(scenario, signal)
def process_scenario(self, scenario: ScenarioController):
scenario.load_signals(self.modalities)
self.process_signals(scenario, scenario.signals)
@property
def name(self) -> str:
return self.__class__.__name__
@property
def parallel(self) -> bool:
return False
@property
def modalities(self) -> Tuple[Modality]:
return ()
def __enter__(self):
pass
def __exit__(self, exc_type, exc_val, exc_tb):
pass
def scenario_key(self, storage: ScenarioStorage) -> Any:
return None
def signal_key(self, storage: ScenarioStorage) -> Any:
return lambda signal: signal.time.start
class ProcessorPlugin:
def create_preprocessor(self) -> DataPreprocessor:
return None
def create_initializer(self) -> ScenarioInitializer:
return None
def create_processors(self) -> Iterable[SignalProcessor]:
return []
@property
def name(self) -> str:
return self.__class__.__name__
@property
def priority(self) -> int:
return 0
| 24.679245 | 106 | 0.675076 | 277 | 2,616 | 6.086643 | 0.223827 | 0.052195 | 0.035587 | 0.045077 | 0.349941 | 0.349941 | 0.327402 | 0.327402 | 0.327402 | 0.327402 | 0 | 0.000502 | 0.238914 | 2,616 | 105 | 107 | 24.914286 | 0.846308 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.361111 | false | 0.083333 | 0.069444 | 0.194444 | 0.680556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
5eba6763e45275c05c6ea71d177bcb0b20fdb6c3 | 266 | py | Python | zeri_di_funzioni/stima_ordine.py | Ro0t-set/metodi-numerici | d586bce78f94f1aa6736218c9123064a57cb87ec | [
"MIT"
] | 5 | 2021-05-21T12:22:18.000Z | 2021-07-02T16:48:32.000Z | zeri_di_funzioni/stima_ordine.py | AlePioggia/metodi-numerici | a231f4a857074d811eb230b1114545f05fabe65f | [
"MIT"
] | null | null | null | zeri_di_funzioni/stima_ordine.py | AlePioggia/metodi-numerici | a231f4a857074d811eb230b1114545f05fabe65f | [
"MIT"
] | 2 | 2021-06-22T10:20:58.000Z | 2021-07-02T19:58:24.000Z | # -*- coding: utf-8 -*-
"""
Metodo per la stima dell'ordine
"""
import numpy as np
def stima_ordine(xks,num_iterazioni):
k = num_iterazioni - 3
return np.log(abs(xks[k+2]-xks[k+3])/abs(xks[k+1]-xks[k+2])) / np.log(abs(xks[k+1]-xks[k+2])/abs(xks[k]-xks[k+1])) | 33.25 | 118 | 0.62406 | 55 | 266 | 2.963636 | 0.436364 | 0.196319 | 0.171779 | 0.134969 | 0.263804 | 0.159509 | 0.159509 | 0 | 0 | 0 | 0 | 0.038793 | 0.12782 | 266 | 8 | 118 | 33.25 | 0.663793 | 0.203008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5ec056e8a3fe7a1dd0d7eedbbca11575fb19f604 | 122 | py | Python | abc/abc204/b/main.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | 2 | 2022-01-22T07:56:58.000Z | 2022-01-24T00:29:37.000Z | abc/abc204/b/main.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | abc/abc204/b/main.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | N = int(input())
A = list(map(int, input().split()))
ans = 0
for a in A:
if a > 10:
ans += a - 10
print(ans) | 13.555556 | 35 | 0.491803 | 23 | 122 | 2.608696 | 0.608696 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.303279 | 122 | 9 | 36 | 13.555556 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5ec2acbce4a69ac08d74be58cb9979e47b281c7d | 412 | py | Python | pytalk/obsolete/message.py | henryz2004/pytalk | 76d84985ddb1e049cc4db2d5d11b52c49927164e | [
"MIT"
] | 3 | 2018-02-27T00:47:38.000Z | 2021-06-04T20:50:13.000Z | pytalk/obsolete/message.py | henryz2004/pytalk | 76d84985ddb1e049cc4db2d5d11b52c49927164e | [
"MIT"
] | null | null | null | pytalk/obsolete/message.py | henryz2004/pytalk | 76d84985ddb1e049cc4db2d5d11b52c49927164e | [
"MIT"
] | null | null | null | from pynet import socket_utility
class Message:
"""
Stores a string message and whether or not it is a notification (NTF) or plain message (MSG)
"""
def __init__(self, message):
self.message = message
def prepare(self, max_bytes=None):
return socket_utility.prepare(self.message, max_bytes=max_bytes)
def __repr__(self):
return self.message
| 22.888889 | 97 | 0.650485 | 53 | 412 | 4.811321 | 0.54717 | 0.172549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271845 | 412 | 17 | 98 | 24.235294 | 0.85 | 0.223301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0d5d8e4687fb579fa2049d6dbbb448c87e9ea36b | 462 | py | Python | shoppinglist/models.py | christiankuhl/foodplanner | 20c4a577849bf0ba9304f82f43c307552e846bf2 | [
"MIT"
] | null | null | null | shoppinglist/models.py | christiankuhl/foodplanner | 20c4a577849bf0ba9304f82f43c307552e846bf2 | [
"MIT"
] | null | null | null | shoppinglist/models.py | christiankuhl/foodplanner | 20c4a577849bf0ba9304f82f43c307552e846bf2 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Ingredient(models.Model):
account = models.CharField(max_length=255)
member = models.CharField(max_length=255)
ref_meal = models.CharField(max_length=255,blank=True)
ref_date = models.DateField(blank=True)
ingredient = models.CharField(max_length=255)
created = models.DateTimeField(auto_now_add=True)
ingredient_there = models.BooleanField()
| 38.5 | 62 | 0.714286 | 57 | 462 | 5.631579 | 0.526316 | 0.186916 | 0.224299 | 0.299065 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032172 | 0.192641 | 462 | 11 | 63 | 42 | 0.828418 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0d61ee15897bf40f0a5f1b4383621a2d4209c39a | 96 | py | Python | fixture/_base.py | berpress/MT5WT | 10826f974cd5aef14e8771e18ca0314f27a902e3 | [
"Apache-2.0"
] | null | null | null | fixture/_base.py | berpress/MT5WT | 10826f974cd5aef14e8771e18ca0314f27a902e3 | [
"Apache-2.0"
] | 1 | 2019-11-26T18:12:24.000Z | 2019-11-26T18:12:24.000Z | fixture/_base.py | berpress/MT5WT | 10826f974cd5aef14e8771e18ca0314f27a902e3 | [
"Apache-2.0"
] | null | null | null | import logging
logging.basicConfig(level=logging.INFO)
log = logging.getLogger("WebTerminal")
| 16 | 39 | 0.802083 | 11 | 96 | 7 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 5 | 40 | 19.2 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0d6993d1de4fca2fe18d6fada4d0381421cd473f | 1,624 | py | Python | program/convert_ui.py | Addision/ProtoExcelTool | 17eaa08c08312e59c5a8f6114a121177ca65508a | [
"MIT"
] | null | null | null | program/convert_ui.py | Addision/ProtoExcelTool | 17eaa08c08312e59c5a8f6114a121177ca65508a | [
"MIT"
] | null | null | null | program/convert_ui.py | Addision/ProtoExcelTool | 17eaa08c08312e59c5a8f6114a121177ca65508a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File : convertUI.py
@Time : 2022/02/28 00:08:31
@Author : felix
@Version : 1.0
@Contact : laijia2008@126.com
@License : (C)Copyright 2021-2025, felix&lai
@Desc : None
'''
# here put the import lib
import os
import sys
def ConvertUI():
print(os.path.abspath(sys.argv[0]))
path = os.path.split(os.path.abspath(sys.argv[0]))[0]
os.system("cd "+path)
print("-------------------------------------------------------")
print(os.getcwd())
os.system("pyuic5 -o ./uipy/add_tmpl_ui.py ../designer/ui/add_tmpl.ui")
os.system("pyuic5 -o ./uipy/modify_enum_ui.py ../designer/ui/modify_enum.ui")
os.system("pyuic5 -o ./uipy/modify_proto_ui.py ../designer/ui/modify_proto.ui")
os.system("pyuic5 -o ./uipy/create_proto_ui.py ../designer/ui/create_proto.ui")
os.system("pyuic5 -o ./uipy/modify_tmpl_ui.py ../designer/ui/modify_tmpl.ui")
os.system("pyuic5 -o ./uipy/proto_tool_ui.py ../designer/ui/proto_tool.ui")
os.system("pyuic5 -o ./uipy/setting_ui.py ../designer/ui/setting.ui")
os.system("pyuic5 -o ./uipy/create_dir_ui.py ../designer/ui/create_dir.ui")
os.system("pyuic5 -o ./uipy/modify_dir_ui.py ../designer/ui/modify_dir.ui")
os.system("pyuic5 -o ./uipy/create_enum_ui.py ../designer/ui/create_enum.ui")
os.system("pyuic5 -o ./uipy/modify_enum_ui.py ../designer/ui/modify_enum.ui")
# os.system("pyrcc5 -o res_rc.py icons/res.qrc")
print("transport ui to py ok...")
print("-------------------------------------------------------")
if __name__ == "__main__":
ConvertUI()
| 37.767442 | 83 | 0.613916 | 245 | 1,624 | 3.906122 | 0.306122 | 0.108673 | 0.16092 | 0.172414 | 0.600836 | 0.411703 | 0.345873 | 0.157785 | 0.135841 | 0.135841 | 0 | 0.033571 | 0.137931 | 1,624 | 42 | 84 | 38.666667 | 0.65 | 0.189655 | 0 | 0.173913 | 0 | 0 | 0.638314 | 0.503448 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.086957 | 0 | 0.130435 | 0.217391 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0d7f5efa7e68562621936b11080cd338789bdad4 | 1,584 | py | Python | qclib/backend/state.py | dylanljones/qclib | 91e63b642f57fee6eff0b3ff1d696880a66509c3 | [
"MIT"
] | 2 | 2021-10-31T11:14:51.000Z | 2021-11-17T13:39:50.000Z | qclib/backend/state.py | dylanljones/qclib | 91e63b642f57fee6eff0b3ff1d696880a66509c3 | [
"MIT"
] | null | null | null | qclib/backend/state.py | dylanljones/qclib | 91e63b642f57fee6eff0b3ff1d696880a66509c3 | [
"MIT"
] | 1 | 2021-10-31T11:15:00.000Z | 2021-10-31T11:15:00.000Z | # coding: utf-8
#
# This code is part of qclib.
#
# Copyright (c) 2021, Dylan Jones
import numpy as np
from ..math import apply_statevec, apply_density, density_matrix
from .measure import measure_qubit, measure_qubit_rho
class DensityMatrix:
def __init__(self, mat):
self._data = np.asarray(mat)
def __len__(self):
return len(self._data)
def __iter__(self):
return iter(self._data)
def __getitem__(self, item):
return self._data[item]
def __str__(self):
return str(self._data)
def copy(self):
return self.__class__(self._data.copy())
def apply(self, operator):
self._data = apply_density(self._data, operator)
def measure(self, qubit, eigvals=None, eigvecs=None):
res, self._data = measure_qubit_rho(self._data, qubit, eigvals, eigvecs)
return res
class StateVector:
def __init__(self, vec):
self._data = np.asarray(vec)
def __len__(self):
return len(self._data)
def __iter__(self):
return iter(self._data)
def __getitem__(self, item):
return self._data[item]
def __str__(self):
return str(self._data)
def copy(self):
return self.__class__(self._data.copy())
def apply(self, operator):
self._data = apply_statevec(self._data, operator)
def measure(self, qubit, eigvals=None, eigvecs=None):
res, self._data = measure_qubit(self._data, qubit, eigvals, eigvecs)
return res
def to_density(self):
return DensityMatrix(density_matrix(self._data))
| 22.956522 | 80 | 0.65404 | 206 | 1,584 | 4.631068 | 0.242718 | 0.176101 | 0.069182 | 0.035639 | 0.641509 | 0.641509 | 0.641509 | 0.566038 | 0.566038 | 0.566038 | 0 | 0.004149 | 0.239268 | 1,584 | 68 | 81 | 23.294118 | 0.787552 | 0.046086 | 0 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.414634 | false | 0 | 0.073171 | 0.268293 | 0.853659 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0d819476af5932130a9089599a42a757e9fa6fab | 3,991 | py | Python | script/diffsel_script_utils.py | vlanore/COPTR | babe25070ddfa67dd04e0f96a143ce539cc27fbb | [
"CECILL-B"
] | null | null | null | script/diffsel_script_utils.py | vlanore/COPTR | babe25070ddfa67dd04e0f96a143ce539cc27fbb | [
"CECILL-B"
] | null | null | null | script/diffsel_script_utils.py | vlanore/COPTR | babe25070ddfa67dd04e0f96a143ce539cc27fbb | [
"CECILL-B"
] | null | null | null | # Copyright or Copr. Centre National de la Recherche Scientifique (CNRS) (2017/11/27)
# Contributors:
# - Vincent Lanore <vincent.lanore@gmail.com>
# This software is a computer program whose purpose is to provide small tools and scripts related to phylogeny and bayesian
# inference.
# This software is governed by the CeCILL-B license under French law and abiding by the rules of distribution of free software.
# You can use, modify and/ or redistribute the software under the terms of the CeCILL-B license as circulated by CEA, CNRS and
# INRIA at the following URL "http://www.cecill.info".
# As a counterpart to the access to the source code and rights to copy, modify and redistribute granted by the license, users
# are provided only with a limited warranty and the software's author, the holder of the economic rights, and the successive
# licensors have only limited liability.
# In this respect, the user's attention is drawn to the risks associated with loading, using, modifying and/or developing or
# reproducing the software by the user in light of its specific status of free software, that may mean that it is complicated
# to manipulate, and that also therefore means that it is reserved for developers and experienced professionals having in-depth
# computer knowledge. Users are therefore encouraged to load and test the software's suitability as regards their requirements
# in conditions enabling the security of their systems and/or data to be ensured and, more generally, to use and operate it in
# the same conditions as regards security.
# The fact that you are presently reading this means that you have had knowledge of the CeCILL-B license and that you accept
# its terms.
import sys
import random
# String handling functions
def strip(str):
if str[0]=='#':
return str[1:]
else:
return str.strip()
# Color-related functions
if sys.stdout.isatty():
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[34m'
OKGREEN = '\033[32m'
YELLOW = '\033[33m'
WARNING = '\033[93m'
CYAN = '\033[33m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
else:
class bcolors:
HEADER = ''
OKBLUE = ''
OKGREEN = ''
WARNING = ''
CYAN = ''
FAIL = ''
ENDC = ''
BOLD = ''
UNDERLINE = ''
def boldred(string):
return bcolors.FAIL+bcolors.BOLD+string+bcolors.ENDC
def red(string):
return bcolors.FAIL+string+bcolors.ENDC
def yellow(string):
return bcolors.YELLOW+string+bcolors.ENDC
def boldcyan(string):
return bcolors.CYAN+bcolors.BOLD+string+bcolors.ENDC
def param(myparam):
return bcolors.OKBLUE+str(myparam)+bcolors.ENDC
def data(myparam):
return bcolors.CYAN+str(myparam)+bcolors.ENDC
def step(string):
return bcolors.BOLD+bcolors.HEADER+string+bcolors.ENDC
def boldgreen(string):
return bcolors.BOLD+bcolors.OKGREEN+string+bcolors.ENDC
def green(string):
return bcolors.OKGREEN+string+bcolors.ENDC
def good(string):
return "-- ("+bcolors.OKGREEN+"Good"+bcolors.ENDC+") "+string
def bad(string):
return "-- ("+bcolors.FAIL+"Bad"+bcolors.ENDC+") "+string
def success(string):
return "-- ["+boldgreen("SUCCESS")+"] "+string
def failure(string):
return "-- ["+boldred("FAILURE")+"] "+string
def ask_input(string):
return "-- ["+boldcyan("INPUT")+"] "+str(string)
# Codon functions
bases = ["A", "C", "G", "T"]
def rand_codon():
return random.choice(bases)+random.choice(bases)+random.choice(bases)
def selected_codon():
aa1 = ["AAT", "AAC"]
return random.choice(aa1)
def mutate(codon, proba=100):
if random.randint(1,100) <= proba:
result = list(codon)
result[random.randint(0,2)] = random.choice(bases)
print("Decided to mutate codon "+codon+" to "+"".join(result)+" with probability "+str(proba))
return "".join(result)
else:
return codon
| 32.983471 | 127 | 0.687798 | 553 | 3,991 | 4.958409 | 0.396022 | 0.052516 | 0.062363 | 0.051058 | 0.116703 | 0.06601 | 0 | 0 | 0 | 0 | 0 | 0.021343 | 0.201704 | 3,991 | 120 | 128 | 33.258333 | 0.839297 | 0.432974 | 0 | 0.069444 | 0 | 0 | 0.084821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.027778 | 0.208333 | 0.847222 | 0.013889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0d8fe58183417cd3a2d532a22447986b76e404bf | 195 | py | Python | livereload/__init__.py | Fantomas42/django-livereload | 1170b6729667a6164e5e47776781b2a7f6b2c0d3 | [
"BSD-3-Clause"
] | 63 | 2015-01-02T03:07:50.000Z | 2022-01-06T13:53:07.000Z | livereload/__init__.py | Fantomas42/django-livereload | 1170b6729667a6164e5e47776781b2a7f6b2c0d3 | [
"BSD-3-Clause"
] | 12 | 2015-02-26T20:04:17.000Z | 2021-08-25T05:24:04.000Z | livereload/__init__.py | Fantomas42/django-livereload | 1170b6729667a6164e5e47776781b2a7f6b2c0d3 | [
"BSD-3-Clause"
] | 18 | 2015-02-24T22:23:51.000Z | 2017-01-22T16:00:25.000Z | """django-livereload"""
__version__ = '1.7'
__license__ = 'BSD License'
__author__ = 'Fantomas42'
__email__ = 'fantomas42@gmail.com'
__url__ = 'https://github.com/Fantomas42/django-livereload'
| 21.666667 | 59 | 0.738462 | 21 | 195 | 5.904762 | 0.714286 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.097436 | 195 | 8 | 60 | 24.375 | 0.659091 | 0.087179 | 0 | 0 | 0 | 0 | 0.52907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0d94ba5e46412f0822ea3dc209d00e080804ba7d | 597 | py | Python | src/bxcommon/utils/crypto.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 12 | 2019-11-06T17:39:10.000Z | 2022-03-01T11:26:19.000Z | src/bxcommon/utils/crypto.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 8 | 2019-11-06T21:31:11.000Z | 2021-06-02T00:46:50.000Z | src/bxcommon/utils/crypto.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 5 | 2019-11-14T18:08:11.000Z | 2022-02-08T09:36:22.000Z | from hashlib import sha256
from nacl.secret import SecretBox
from nacl.utils import random
# Length of a SHA256 double hash
SHA256_HASH_LEN = 32
KEY_SIZE = SecretBox.KEY_SIZE
def bitcoin_hash(content):
return sha256(sha256(content).digest()).digest()
def double_sha256(content):
return sha256(sha256(content).digest()).digest()
def symmetric_encrypt(content, key=None):
if not key:
key = random(KEY_SIZE)
ciphertext = SecretBox(key).encrypt(content)
return key, ciphertext
def symmetric_decrypt(key, ciphertext):
return SecretBox(key).decrypt(ciphertext)
| 21.321429 | 52 | 0.745394 | 80 | 597 | 5.45 | 0.375 | 0.048165 | 0.087156 | 0.114679 | 0.215596 | 0.215596 | 0.215596 | 0.215596 | 0 | 0 | 0 | 0.051793 | 0.159129 | 597 | 27 | 53 | 22.111111 | 0.816733 | 0.050251 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.1875 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0da2968bb359986875b9af1a418b84d7e635b431 | 480 | py | Python | slackbuilder/blocks.py | kbeauregard/slackbuilder | 866ec0ad737a2277bd043081dc08c6ebc182b2e3 | [
"MIT"
] | null | null | null | slackbuilder/blocks.py | kbeauregard/slackbuilder | 866ec0ad737a2277bd043081dc08c6ebc182b2e3 | [
"MIT"
] | null | null | null | slackbuilder/blocks.py | kbeauregard/slackbuilder | 866ec0ad737a2277bd043081dc08c6ebc182b2e3 | [
"MIT"
] | 1 | 2021-02-01T13:26:57.000Z | 2021-02-01T13:26:57.000Z | DEFAULT_TEXT_TYPE = "mrkdwn"
class BaseBlock:
def generate(self):
raise NotImplemented("Subclass missing generate implementation")
class TextBlock(BaseBlock):
def __init__(self, text, _type=DEFAULT_TEXT_TYPE):
self._text = text
self._type = _type
def __repr__(self):
return f"TextBlock({self._text}, _type={self._type})"
def generate(self):
return {"type": "section", "text": {"type": self._type, "text": self._text}}
| 25.263158 | 84 | 0.65625 | 56 | 480 | 5.25 | 0.357143 | 0.136054 | 0.122449 | 0.108844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210417 | 480 | 18 | 85 | 26.666667 | 0.775726 | 0 | 0 | 0.166667 | 1 | 0 | 0.233333 | 0.047917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
0dbc3d65f08a855cd3326a6dfe34ef3f6203d093 | 8,155 | py | Python | tests/test_manifest.py | markfinger/python-webpack | 41ed0a3afac0dc96cb22093bd2da1dcbd31cfc42 | [
"MIT"
] | 66 | 2015-05-06T17:20:20.000Z | 2021-07-08T02:56:21.000Z | tests/test_manifest.py | markfinger/python-webpack | 41ed0a3afac0dc96cb22093bd2da1dcbd31cfc42 | [
"MIT"
] | 26 | 2015-05-03T11:38:24.000Z | 2016-01-01T22:32:45.000Z | tests/test_manifest.py | markfinger/python-webpack | 41ed0a3afac0dc96cb22093bd2da1dcbd31cfc42 | [
"MIT"
] | 15 | 2015-05-11T19:02:15.000Z | 2020-11-29T20:23:17.000Z | import unittest
import os
import json
import mock
import hashlib
from webpack.conf import Conf
from webpack.manifest import generate_manifest, generate_key, write_manifest, read_manifest, populate_manifest_file
from webpack.compiler import webpack
from .settings import ConfigFiles, OUTPUT_ROOT, WEBPACK
from .utils import clean_output_root
class TestManifest(unittest.TestCase):
@classmethod
def setUpClass(cls):
clean_output_root()
@classmethod
def tearDownClass(cls):
clean_output_root()
def test_a_manifest_key_is_relative(self):
key = generate_key(ConfigFiles.BASIC_CONFIG)
self.assertEqual(key, os.path.join('basic', 'webpack.config.js'))
def test_a_manifest_key_contains_the_context(self):
context = {'foo': 'bar'}
key = generate_key(ConfigFiles.BASIC_CONFIG, context)
hashed_context = hashlib.md5(json.dumps(context).encode('utf-8')).hexdigest()
expected = os.path.join('basic', 'webpack.config.js') + '__' + hashed_context
self.assertEqual(key, expected)
def test_a_manifest_can_be_generated(self):
manifest = generate_manifest(
(ConfigFiles.BASIC_CONFIG,)
)
self.assertIsInstance(manifest, dict)
self.assertEqual(len(manifest.keys()), 1)
key = generate_key(ConfigFiles.BASIC_CONFIG)
self.assertIn(key, manifest)
entry = manifest[key]
bundle = webpack(ConfigFiles.BASIC_CONFIG)
self.assertEqual(entry, bundle.data)
def test_a_manifest_can_be_generated_from_a_dictionary(self):
manifest = generate_manifest({
ConfigFiles.BASIC_CONFIG: ()
})
self.assertIsInstance(manifest, dict)
self.assertEqual(len(manifest.keys()), 1)
key = generate_key(ConfigFiles.BASIC_CONFIG)
self.assertIn(key, manifest)
entry = manifest[key]
bundle = webpack(ConfigFiles.BASIC_CONFIG)
self.assertEqual(entry, bundle.data)
def test_a_manifest_can_be_generated_from_multiple_config_files(self):
manifest = generate_manifest(
(
ConfigFiles.BASIC_CONFIG,
ConfigFiles.LIBRARY_CONFIG,
),
)
self.assertIsInstance(manifest, dict)
self.assertEqual(len(manifest.keys()), 2)
key1 = generate_key(ConfigFiles.BASIC_CONFIG)
self.assertIn(key1, manifest)
entry1 = manifest[key1]
bundle1 = webpack(ConfigFiles.BASIC_CONFIG)
self.assertEqual(entry1, bundle1.data)
key2 = generate_key(ConfigFiles.LIBRARY_CONFIG)
self.assertIn(key2, manifest)
entry2 = manifest[key2]
bundle2 = webpack(ConfigFiles.LIBRARY_CONFIG)
self.assertEqual(entry2, bundle2.data)
def test_a_manifest_can_be_generated_from_multiple_config_files_in_a_dictionary(self):
manifest = generate_manifest({
ConfigFiles.BASIC_CONFIG: (),
ConfigFiles.LIBRARY_CONFIG: (),
})
self.assertIsInstance(manifest, dict)
self.assertEqual(len(manifest.keys()), 2)
key1 = generate_key(ConfigFiles.BASIC_CONFIG)
self.assertIn(key1, manifest)
entry1 = manifest[key1]
bundle1 = webpack(ConfigFiles.BASIC_CONFIG)
self.assertEqual(entry1, bundle1.data)
key2 = generate_key(ConfigFiles.LIBRARY_CONFIG)
self.assertIn(key2, manifest)
entry2 = manifest[key2]
bundle2 = webpack(ConfigFiles.LIBRARY_CONFIG)
self.assertEqual(entry2, bundle2.data)
def test_a_manifest_can_be_generated_with_multiple_contexts(self):
manifest = generate_manifest({
ConfigFiles.BASIC_CONFIG: (
{'foo': 'bar'},
),
ConfigFiles.LIBRARY_CONFIG: (
{'foo': 'bar'},
{'woz': 'woo'},
),
})
self.assertIsInstance(manifest, dict)
self.assertEqual(len(manifest.keys()), 3)
key1 = generate_key(ConfigFiles.BASIC_CONFIG, {'foo': 'bar'})
self.assertIn(key1, manifest)
entry1 = manifest[key1]
bundle1 = webpack(ConfigFiles.BASIC_CONFIG, context={'foo': 'bar'})
self.assertEqual(entry1, bundle1.data)
key2 = generate_key(ConfigFiles.LIBRARY_CONFIG, {'foo': 'bar'})
self.assertIn(key2, manifest)
entry2 = manifest[key2]
bundle2 = webpack(ConfigFiles.LIBRARY_CONFIG, context={'foo': 'bar'})
self.assertEqual(entry2, bundle2.data)
key3 = generate_key(ConfigFiles.LIBRARY_CONFIG, {'woz': 'woo'})
self.assertIn(key3, manifest)
entry3 = manifest[key3]
bundle3 = webpack(ConfigFiles.LIBRARY_CONFIG, context={'woz': 'woo'})
self.assertEqual(entry3, bundle3.data)
def test_a_manifest_can_be_written_to_and_read_from_disk(self):
manifest = generate_manifest({
ConfigFiles.BASIC_CONFIG: (
{'foo': 'bar'},
),
ConfigFiles.LIBRARY_CONFIG: (
{'foo': 'bar'},
{'woz': 'woo'},
),
})
path = os.path.join(OUTPUT_ROOT, 'foo.json')
write_manifest(path, manifest)
# Manual check
with open(path, 'r') as manifest_file:
content = manifest_file.read()
self.assertEqual(json.loads(content), manifest)
# Convenience check
self.assertEqual(read_manifest(path), manifest)
@staticmethod
def _raise_if_called(*args, **kwargs):
raise Exception('method called with args: {} and kwargs: {}'.format(args, kwargs))
def test_the_manifest_is_used_by_the_compiler(self):
manifest = generate_manifest({
ConfigFiles.BASIC_CONFIG: (),
})
key = generate_key(ConfigFiles.BASIC_CONFIG)
self.assertIn(key, manifest)
path = os.path.join(OUTPUT_ROOT, 'test_manifest.json')
write_manifest(path, manifest)
with mock.patch('webpack.compiler.build_server.build', self._raise_if_called):
mock_settings = Conf()
mock_settings.configure(
**dict(
WEBPACK,
USE_MANIFEST=True,
MANIFEST_PATH=path,
)
)
with mock.patch('webpack.conf.settings', mock_settings):
bundle = webpack(ConfigFiles.BASIC_CONFIG)
self.assertEqual(bundle.data, manifest[key])
def test_the_manifest_can_be_populated_from_settings(self):
path = os.path.join(OUTPUT_ROOT, 'test_populate_manifest_file.json')
mock_settings = Conf()
mock_settings.configure(
**dict(
WEBPACK,
USE_MANIFEST=True,
MANIFEST_PATH=path,
MANIFEST=(
ConfigFiles.BASIC_CONFIG,
)
)
)
with mock.patch('webpack.conf.settings', mock_settings):
populate_manifest_file()
with open(path, 'r') as manifest_file:
content = manifest_file.read()
manifest = json.loads(content)
expected = generate_manifest(
(ConfigFiles.BASIC_CONFIG,)
)
self.assertEqual(manifest, expected)
def test_the_manifest_can_be_populated_from_a_dictionary(self):
path = os.path.join(OUTPUT_ROOT, 'test_populate_dict_manifest_file.json')
mock_settings = Conf()
mock_settings.configure(
**dict(
WEBPACK,
USE_MANIFEST=True,
MANIFEST_PATH=path,
MANIFEST={
ConfigFiles.BASIC_CONFIG: (),
}
)
)
with mock.patch('webpack.conf.settings', mock_settings):
populate_manifest_file()
with open(path, 'r') as manifest_file:
content = manifest_file.read()
manifest = json.loads(content)
expected = generate_manifest({
ConfigFiles.BASIC_CONFIG: (),
})
self.assertEqual(manifest, expected)
| 33.016194 | 115 | 0.614102 | 829 | 8,155 | 5.791315 | 0.141134 | 0.083316 | 0.114559 | 0.081233 | 0.77838 | 0.734847 | 0.706103 | 0.647157 | 0.622995 | 0.588836 | 0 | 0.009619 | 0.286082 | 8,155 | 246 | 116 | 33.150407 | 0.815012 | 0.003679 | 0 | 0.639175 | 1 | 0 | 0.045186 | 0.020561 | 0 | 0 | 0 | 0 | 0.185567 | 1 | 0.072165 | false | 0 | 0.051546 | 0 | 0.128866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ddc0bef32477eced0900bb0111e6a1dbf4f7271 | 186 | py | Python | countries/api/urls.py | isidaruk/eurovision_project | 976743e66a2fed17c0513f17a9a7d35850e9cde5 | [
"MIT"
] | null | null | null | countries/api/urls.py | isidaruk/eurovision_project | 976743e66a2fed17c0513f17a9a7d35850e9cde5 | [
"MIT"
] | 8 | 2020-02-12T00:23:27.000Z | 2022-03-08T21:10:13.000Z | countries/api/urls.py | isidaruk/eurovision_project | 976743e66a2fed17c0513f17a9a7d35850e9cde5 | [
"MIT"
] | null | null | null | from rest_framework.routers import DefaultRouter
from countries.api.views import CountryViewSet
router = DefaultRouter()
router.register('', CountryViewSet)
urlpatterns = router.urls
| 20.666667 | 48 | 0.822581 | 20 | 186 | 7.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102151 | 186 | 8 | 49 | 23.25 | 0.91018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
217d30de43b0686c9b6a097430ce64fd2cb78174 | 130 | py | Python | test/conftest.py | eliasbrange/aws-cdk-template | 7ba7bc921bdd9c0064a6a661a2f47ee767ed70cc | [
"MIT"
] | 2 | 2022-01-03T11:11:32.000Z | 2022-03-11T16:34:51.000Z | test/conftest.py | eliasbrange/aws-cdk-template | 7ba7bc921bdd9c0064a6a661a2f47ee767ed70cc | [
"MIT"
] | null | null | null | test/conftest.py | eliasbrange/aws-cdk-template | 7ba7bc921bdd9c0064a6a661a2f47ee767ed70cc | [
"MIT"
] | 1 | 2022-03-25T20:35:16.000Z | 2022-03-25T20:35:16.000Z | import os.path as op
import sys
path = op.abspath(op.join(op.dirname(op.realpath(__file__)), "..", "src"))
sys.path.append(path)
| 21.666667 | 74 | 0.7 | 22 | 130 | 3.954545 | 0.590909 | 0.16092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 5 | 75 | 26 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
218267a67d6b77155bce24d14dba6bc7cf42c90c | 315 | py | Python | features/best_move.py | raaahuuulll/chess-concepts | 92fbed433c1270f8235f454bb4f5416e577bf8a6 | [
"Apache-2.0"
] | null | null | null | features/best_move.py | raaahuuulll/chess-concepts | 92fbed433c1270f8235f454bb4f5416e577bf8a6 | [
"Apache-2.0"
] | null | null | null | features/best_move.py | raaahuuulll/chess-concepts | 92fbed433c1270f8235f454bb4f5416e577bf8a6 | [
"Apache-2.0"
] | null | null | null | from features.move import Move
class BestMove(Move):
# TODO: replace this with an attribute which specifies columns
@classmethod
def from_row(cls, row):
return cls(row.fen, row.best_move)
def features(self, prefix=None):
return super(BestMove, self).features(prefix="best_move")
| 24.230769 | 66 | 0.698413 | 43 | 315 | 5.046512 | 0.604651 | 0.0553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 315 | 12 | 67 | 26.25 | 0.868 | 0.190476 | 0 | 0 | 0 | 0 | 0.035573 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
2186641f0d4ffce02d56535a8ecd616ced38432d | 73 | py | Python | Configuration/Eras/python/Modifier_run2_GEM_2017_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Configuration/Eras/python/Modifier_run2_GEM_2017_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Configuration/Eras/python/Modifier_run2_GEM_2017_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
run2_GEM_2017 = cms.Modifier()
| 18.25 | 40 | 0.808219 | 11 | 73 | 5.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.109589 | 73 | 3 | 41 | 24.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
21b6bc874be363315a5d7728d2f9c90f4bee8e37 | 802 | py | Python | user.py | sylvestus/passwordLocker | 2dc949996c60eb02d55ac6d7426e2eb9f0cb9375 | [
"Unlicense"
] | null | null | null | user.py | sylvestus/passwordLocker | 2dc949996c60eb02d55ac6d7426e2eb9f0cb9375 | [
"Unlicense"
] | null | null | null | user.py | sylvestus/passwordLocker | 2dc949996c60eb02d55ac6d7426e2eb9f0cb9375 | [
"Unlicense"
] | null | null | null |
import string
import random
class User:
def __init__(self,username,password):
self.username = username
self.password = password
userList = []
def addUser(self):
'''
method saves a new user object to credentials list
'''
User.userList.append(self)
def deleteUser(self):
'''
method deletes a saved user from user_list
'''
User.userList.remove(self)
@classmethod
def displayUser(cls):
return cls.userList
def generate_password(self):
'''
generate random password consisting of letters
'''
password = string.ascii_uppercase + string.ascii_lowercase
return ''.join(random.choice(password) for i in range(1,9))
| 19.560976 | 67 | 0.583541 | 84 | 802 | 5.47619 | 0.535714 | 0.052174 | 0.069565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003731 | 0.331671 | 802 | 41 | 68 | 19.560976 | 0.854478 | 0.174564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.294118 | 0.117647 | 0.058824 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
21c005abab0af70acf7d0786eb0dee5f66346f8d | 15,025 | py | Python | Berkeley_pacman_project1/search.py | AndrewSpano/UC_Berkeley_AI_Projects | a695f7be1653e485fdb339f99e6a266a1b044ba4 | [
"MIT"
] | 1 | 2020-12-12T16:16:05.000Z | 2020-12-12T16:16:05.000Z | Berkeley_pacman_project1/search.py | AndrewSpano/University_AI_Projects | a695f7be1653e485fdb339f99e6a266a1b044ba4 | [
"MIT"
] | null | null | null | Berkeley_pacman_project1/search.py | AndrewSpano/University_AI_Projects | a695f7be1653e485fdb339f99e6a266a1b044ba4 | [
"MIT"
] | 1 | 2020-10-13T19:37:59.000Z | 2020-10-13T19:37:59.000Z | # search.py
# ---------
# Licensing Information: You are free to use or extend these projects for
# educational purposes provided that (1) you do not distribute or publish
# solutions, (2) you retain this notice, and (3) you provide clear
# attribution to UC Berkeley, including a link to http://ai.berkeley.edu.
#
# Attribution Information: The Pacman AI projects were developed at UC Berkeley.
# The core projects and autograders were primarily created by John DeNero
# (denero@cs.berkeley.edu) and Dan Klein (klein@cs.berkeley.edu).
# Student side autograding was added by Brad Miller, Nick Hay, and
# Pieter Abbeel (pabbeel@cs.berkeley.edu).
"""
In search.py, you will implement generic search algorithms which are called by
Pacman agents (in searchAgents.py).
"""
import util
class SearchProblem:
"""
This class outlines the structure of a search problem, but doesn't implement
any of the methods (in object-oriented terminology: an abstract class).
You do not need to change anything in this class, ever.
"""
def getStartState(self):
"""
Returns the start state for the search problem.
"""
util.raiseNotDefined()
def isGoalState(self, state):
"""
state: Search state
Returns True if and only if the state is a valid goal state.
"""
util.raiseNotDefined()
def getSuccessors(self, state):
"""
state: Search state
For a given state, this should return a list of triples, (successor,
action, stepCost), where 'successor' is a successor to the current
state, 'action' is the action required to get there, and 'stepCost' is
the incremental cost of expanding to that successor.
"""
util.raiseNotDefined()
def getCostOfActions(self, actions):
"""
actions: A list of actions to take
This method returns the total cost of a particular sequence of actions.
The sequence must be composed of legal moves.
"""
util.raiseNotDefined()
def tinyMazeSearch(problem):
"""
Returns a sequence of moves that solves tinyMaze. For any other maze, the
sequence of moves will be incorrect, so only use this for tinyMaze.
"""
from game import Directions
s = Directions.SOUTH
w = Directions.WEST
return [s, s, w, s, w, w, s, w]
def depthFirstSearch(problem):
# check if the starting state is a solution
if problem.isGoalState(problem.getStartState()):
return []
# import the Stack class which will be used to pop the state the first state that was pushed (LIFO)
from util import Stack
stack = Stack()
# the first item of the stack will be the starting state
stack.push(problem.getStartState())
# a dictionary (more like hash table) that is used to check if a state has already beem visited in O(1) time
visited = {problem.getStartState(): True}
# a dictionary (more like hash table) to store the path taken to reach every state
path = {problem.getStartState(): []}
# the currentState becomes the starting state
currentState = problem.getStartState()
while True:
# if the stack is empty, then we have explored all states reachable from the StartState
# and we did not get to the goal State. Therefore it is unreachable. So we return None.
if stack.isEmpty():
return None
# pop the next state that will be visited
currentState = stack.pop()
# mark the state as visited in the dictionary
visited[currentState] = True
# check if the currentState is a solution to the problem, and if so return a list with the solution
if problem.isGoalState(currentState):
return path.get(currentState)
# get the successors of the currentState
successors = problem.getSuccessors(currentState)
# REMEMBER: tuple[0] is the state, tuple[1] is the action and tuple[2] is the cost of the action
for tuple in successors:
# check if the state (tuple[0]) has already been visited
if visited.get(tuple[0], None) == None:
# if it hasn't, construct it's path in the path dictionary
temp_list = path.get(currentState)[:]
temp_list.append(tuple[1])
path[tuple[0]] = temp_list
# then push it into the stack
stack.push(tuple[0])
util.raiseNotDefined()
def breadthFirstSearch(problem):
# check if the starting state is a solution
if problem.isGoalState(problem.getStartState()):
return []
# import the Queue class which will be used to pop the state the first state that was pushed (FIFO)
from util import Queue
queue = Queue()
# the first item of the queue will be the starting state
queue.push(problem.getStartState())
# a dictionary (more like hash table) that is used to check if a state has already beem visited in O(1) time
visited = {problem.getStartState(): True}
# a dictionary (more like hash table) to store the path taken to reach every state
path = {problem.getStartState(): []}
# the current state is initialized as the starting state
currentState = problem.getStartState()
while True:
# if the queue is empty, then we have explored all states reachable from the StartState
# and we did not get to the goal State. Therefore it is unreachable. So we return None.
if queue.isEmpty():
return None
# pop the lastest state that was inserted
currentState = queue.pop()
# check if it is a solution, and if it is return the path
if problem.isGoalState(currentState):
return path.get(currentState)
# get the successors of the current state
successors = problem.getSuccessors(currentState)
# REMEMBER: tuple[0] is the state, tuple[1] is the action and tuple[2] is the cost of the action
for tuple in successors:
# if the state has not been visited
if visited.get(tuple[0], None) == None:
# add the state (tuple[0]) to the visited dictionary and mark it's path using the path dictionary
visited[tuple[0]] = True
# the state's (tuple[0]) path is the path to it's predecessor (currentState) + the new action (tuple[2])
temp_list = path.get(currentState)[:]
temp_list.append(tuple[1])
path[tuple[0]] = temp_list
# push the state (tuple[0]) to the queue
queue.push(tuple[0])
util.raiseNotDefined()
def uniformCostSearch(problem):
# check if the starting state is a solution
if problem.isGoalState(problem.getStartState()):
return []
# import the Priority Queue class which will be used to pop the state with the lowest cost
from util import PriorityQueue
priority_queue = PriorityQueue()
# the starting state has a cost of 0
priority_queue.push(problem.getStartState(), 0)
# a dictionary (more like hash table) that is used to check if a state has already beem visited in O(1) time
visited = {problem.getStartState(): True}
# a dictionary (more like hash table) to store the path taken to reach every state
path = {problem.getStartState(): []}
# a dictionary (more like hash table) to store the predecessor of every state
# this dictionary is not needed in dfs and bfs because in those searches the predecessor
# of a state is always the variable currentState
predecessor = {problem.getStartState(): None}
# a dictionary (more like hash table) to store lowest cost needed to reach every state
# this dictionary was not used in the previous searches for the same reasons as above
cost = {problem.getStartState(): 0}
# the current state of the problem becomes the starting state
currentState = problem.getStartState()
while True:
# if the priority queue is empty, then we have explored all states reachable from the StartState
# and we did not get to the goal State. Therefore it is unreachable. So we return None.
if priority_queue.isEmpty():
return None
# the new current state will become the successor state with the smallest priority (cost)
currentState = priority_queue.pop()
# check if the currentState is the goal State. If it is it means we have found a minimum cost
# solution. Return the path we have built for it.
if problem.isGoalState(currentState):
return path.get(currentState);
# get the successors states of the currentState
successors = problem.getSuccessors(currentState)
# REMEMBER: tuple[0] is the state, tuple[1] is the action and tuple[2] is the cost of the action
for tuple in successors:
if visited.get(tuple[0], None) == None:
# mark state as visited
visited[tuple[0]] = True
# the predecessor of the state tuple[0] is the state from which we got the tuple, which is currentState
predecessor[tuple[0]] = currentState
# the cost of the state tuple[0] is equal to the cost to get to the previous state + the cost of the action
cost[tuple[0]] = cost[predecessor[tuple[0]]] + tuple[2]
# make the path
temp_list = path.get(currentState)[:]
temp_list.append(tuple[1])
path[tuple[0]] = temp_list
# push the state in the priority queue with its cost, which we calculated above
priority_queue.push(tuple[0], cost[tuple[0]])
else:
# we have an already visited state, so we must check if the cost to get to it can be lowered.
if cost[currentState] + tuple[2] < cost[tuple[0]]:
# if the above condition is true, we have found a lower cost for the state tuple[0]
# therefore we update the cost, the predecessor and the path of the state
cost[tuple[0]] = cost[currentState] + tuple[2]
predecessor[tuple[0]] = currentState
temp_list = path.get(currentState)[:]
temp_list.append(tuple[1])
path[tuple[0]] = temp_list
# update the new priority (cost) of the already visited state
priority_queue.update(tuple[0], cost[tuple[0]])
util.raiseNotDefined()
def nullHeuristic(state, problem=None):
"""
A heuristic function estimates the cost from the current state to the nearest
goal in the provided SearchProblem. This heuristic is trivial.
"""
return 0
def aStarSearch(problem, heuristic=nullHeuristic):
# check if the starting state is a solution
if problem.isGoalState(problem.getStartState()):
return []
# import the Priority Queue class which will be used to pop the state with the lowest cost
from util import PriorityQueue
priority_queue = PriorityQueue()
# the starting state has a cost of 0
priority_queue.push(problem.getStartState(), heuristic(problem.getStartState(), problem))
# a dictionary (more like hash table) that is used to check if a state has already beem visited in O(1) time
visited = {problem.getStartState(): True}
# a dictionary (more like hash table) to store the path taken to reach every state
path = {problem.getStartState(): []}
# a dictionary (more like hash table) to store the predecessor of every state
# this dictionary is not needed in dfs and bfs because in those searches the predecessor
# of a state is always the variable currentState
predecessor = {problem.getStartState(): None}
# a dictionary (more like hash table) to store lowest cost needed to reach every state
# this dictionary was not used in the previous searches for the same reasons as above
cost = {problem.getStartState(): 0}
# the current state of the problem becomes the starting state
currentState = problem.getStartState()
while True:
# if the priority queue is empty, then we have explored all states reachable from the StartState
# and we did not get to the goal State. Therefore it is unreachable. So we return None.
if priority_queue.isEmpty():
return None
# the new current state will become the successor state with the smallest priority (cost)
currentState = priority_queue.pop()
# check if the currentState is the goal State. If it is it means we have found a minimum cost
# solution. Return the path we have built for it.
if problem.isGoalState(currentState):
return path.get(currentState);
# get the successors states of the currentState
successors = problem.getSuccessors(currentState)
# REMEMBER: tuple[0] is the state, tuple[1] is the action and tuple[2] is the cost of the action
for tuple in successors:
if visited.get(tuple[0], None) == None:
# mark state as visited
visited[tuple[0]] = True
# the predecessor of the state tuple[0] is the state from which we got the tuple, which is currentState
predecessor[tuple[0]] = currentState
# the cost of the state tuple[0] is equal to the cost to get to the previous state + the cost of the action
cost[tuple[0]] = cost[predecessor[tuple[0]]] + tuple[2]
# make the path
temp_list = path.get(currentState)[:]
temp_list.append(tuple[1])
path[tuple[0]] = temp_list
# push the state in the priority queue with its cost + heuristic, which we calculated above
priority_queue.push(tuple[0], cost[tuple[0]] + heuristic(tuple[0], problem))
else:
# we have an already visited state, so we must check if the cost to get to it can be lowered.
if cost[currentState] + tuple[2] < cost[tuple[0]]:
# if the above condition is true, we have found a lower cost for the state tuple[0]
# therefore we update the cost, the predecessor and the path of the state
cost[tuple[0]] = cost[currentState] + tuple[2]
predecessor[tuple[0]] = currentState
temp_list = path.get(currentState)[:]
temp_list.append(tuple[1])
path[tuple[0]] = temp_list
# update the new priority (cost + heuristic) of the already visited state
priority_queue.update(tuple[0], cost[tuple[0]] + heuristic(tuple[0], problem))
util.raiseNotDefined()
# Abbreviations
bfs = breadthFirstSearch
dfs = depthFirstSearch
astar = aStarSearch
ucs = uniformCostSearch
| 40.066667 | 123 | 0.647388 | 2,026 | 15,025 | 4.786278 | 0.132774 | 0.031556 | 0.017428 | 0.023512 | 0.730123 | 0.705373 | 0.695679 | 0.695679 | 0.695679 | 0.68351 | 0 | 0.007881 | 0.282196 | 15,025 | 374 | 124 | 40.173797 | 0.891238 | 0.528918 | 0 | 0.716312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070922 | false | 0 | 0.042553 | 0 | 0.219858 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21c10c49fed1208784b8ed8d90ec7a93c4893c97 | 270 | py | Python | src/python/WMCore/WMBS/Oracle/Files/GetLocation.py | hufnagel/WMCore | b150cc725b68fc1cf8e6e0fa07c826226a4421fa | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMCore/WMBS/Oracle/Files/GetLocation.py | hufnagel/WMCore | b150cc725b68fc1cf8e6e0fa07c826226a4421fa | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMCore/WMBS/Oracle/Files/GetLocation.py | hufnagel/WMCore | b150cc725b68fc1cf8e6e0fa07c826226a4421fa | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | """
Oracle implementation of GetLocationFile
"""
from WMCore.WMBS.MySQL.Files.GetLocation import GetLocation \
as GetLocationFileMySQL
class GetLocation(GetLocationFileMySQL):
"""
_GetLocation_
Oracle specific: file is reserved word
"""
pass
| 18 | 61 | 0.725926 | 25 | 270 | 7.76 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196296 | 270 | 14 | 62 | 19.285714 | 0.894009 | 0.348148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
21cbd2f48de433cddb1eeae935153e4c69f319de | 208 | bzl | Python | bazel_versions.bzl | cgrindel/buildifier-prebuilt | 79244e93755af8db1dcbe8d005f024901a7918dc | [
"MIT"
] | 8 | 2021-12-03T19:58:36.000Z | 2022-02-03T00:41:59.000Z | bazel_versions.bzl | cgrindel/buildifier-prebuilt | 79244e93755af8db1dcbe8d005f024901a7918dc | [
"MIT"
] | 13 | 2022-01-18T22:31:04.000Z | 2022-03-21T17:19:49.000Z | bazel_versions.bzl | cgrindel/buildifier-prebuilt | 79244e93755af8db1dcbe8d005f024901a7918dc | [
"MIT"
] | 2 | 2022-01-24T20:28:29.000Z | 2022-03-20T18:12:46.000Z | """
Common bazel version requirements for tests
"""
CURRENT_BAZEL_VERSION = "5.0.0"
OTHER_BAZEL_VERSIONS = [
"4.2.2",
]
SUPPORTED_BAZEL_VERSIONS = [
CURRENT_BAZEL_VERSION,
] + OTHER_BAZEL_VERSIONS
| 14.857143 | 43 | 0.721154 | 27 | 208 | 5.185185 | 0.518519 | 0.257143 | 0.271429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.163462 | 208 | 13 | 44 | 16 | 0.770115 | 0.206731 | 0 | 0 | 0 | 0 | 0.063694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21df65a1c8478ea8f6b221397a365d1de4254a1f | 3,548 | py | Python | Lib/test/test_cmath_jy.py | weimingtom/j2mepython-midp | 472333ebc6a7f06d92c5ede85c8ed55e4ad66c6d | [
"CNRI-Jython",
"PSF-2.0",
"Apache-2.0"
] | 1 | 2015-11-07T12:22:17.000Z | 2015-11-07T12:22:17.000Z | Lib/test/test_cmath_jy.py | weimingtom/j2mepython-midp | 472333ebc6a7f06d92c5ede85c8ed55e4ad66c6d | [
"CNRI-Jython",
"PSF-2.0",
"Apache-2.0"
] | null | null | null | Lib/test/test_cmath_jy.py | weimingtom/j2mepython-midp | 472333ebc6a7f06d92c5ede85c8ed55e4ad66c6d | [
"CNRI-Jython",
"PSF-2.0",
"Apache-2.0"
] | null | null | null | #! /usr/bin/env python
""" Simple test script for cmathmodule.c
Roger E. Masse
"""
import cmath
import unittest
from test import test_support
from test.test_support import verbose
p = cmath.pi
e = cmath.e
if verbose:
print 'PI = ', abs(p)
print 'E = ', abs(e)
class CmathTestCase(unittest.TestCase):
def assertAlmostEqual(self, x, y, places=5, msg=None):
unittest.TestCase.assertAlmostEqual(self, x.real, y.real, places, msg)
unittest.TestCase.assertAlmostEqual(self, x.imag, y.imag, places, msg)
def test_acos(self):
self.assertAlmostEqual(complex(0.936812, -2.30551),
cmath.acos(complex(3, 4)))
def test_acosh(self):
self.assertAlmostEqual(complex(2.30551, 0.93681),
cmath.acosh(complex(3, 4)))
def test_asin(self):
self.assertAlmostEqual(complex(0.633984, 2.30551),
cmath.asin(complex(3, 4)))
def test_asinh(self):
self.assertAlmostEqual(complex(2.29991, 0.917617),
cmath.asinh(complex(3, 4)))
def test_atan(self):
self.assertAlmostEqual(complex(1.44831, 0.158997),
cmath.atan(complex(3, 4)))
def test_atanh(self):
self.assertAlmostEqual(complex(0.11750, 1.40992),
cmath.atanh(complex(3, 4)))
def test_cos(self):
self.assertAlmostEqual(complex(-27.03495, -3.851153),
cmath.cos(complex(3, 4)))
def test_cosh(self):
self.assertAlmostEqual(complex(-6.58066, -7.58155),
cmath.cosh(complex(3, 4)))
def test_exp(self):
self.assertAlmostEqual(complex(-13.12878, -15.20078),
cmath.exp(complex(3, 4)))
def test_log(self):
self.assertAlmostEqual(complex(1.60944, 0.927295),
cmath.log(complex(3, 4)))
def test_log10(self):
self.assertAlmostEqual(complex(0.69897, 0.40272),
cmath.log10(complex(3, 4)))
def test_sin(self):
self.assertAlmostEqual(complex(3.853738, -27.01681),
cmath.sin(complex(3, 4)))
def test_sinh(self):
self.assertAlmostEqual(complex(-6.54812, -7.61923),
cmath.sinh(complex(3, 4)))
def test_sqrt_real_positive(self):
self.assertAlmostEqual(complex(2, 1),
cmath.sqrt(complex(3, 4)))
def test_sqrt_real_zero(self):
self.assertAlmostEqual(complex(1.41421, 1.41421),
cmath.sqrt(complex(0, 4)))
def test_sqrt_real_negative(self):
self.assertAlmostEqual(complex(1, 2),
cmath.sqrt(complex(-3, 4)))
def test_sqrt_imaginary_zero(self):
self.assertAlmostEqual(complex(0.0, 1.73205),
cmath.sqrt(complex(-3, 0)))
def test_sqrt_imaginary_negative(self):
self.assertAlmostEqual(complex(1.0, -2.0),
cmath.sqrt(complex(-3, -4)))
def test_tan(self):
self.assertAlmostEqual(complex(-0.000187346, 0.999356),
cmath.tan(complex(3, 4)))
def test_tanh(self):
self.assertAlmostEqual(complex(1.00071, 0.00490826),
cmath.tanh(complex(3, 4)))
def test_main():
test_support.run_unittest(CmathTestCase)
if __name__ == "__main__":
test_main()
| 33.158879 | 78 | 0.55947 | 416 | 3,548 | 4.665865 | 0.245192 | 0.075734 | 0.257599 | 0.329727 | 0.521381 | 0.099433 | 0.057187 | 0.029882 | 0 | 0 | 0 | 0.11175 | 0.31398 | 3,548 | 106 | 79 | 33.471698 | 0.685703 | 0.005919 | 0 | 0 | 0 | 0 | 0.004909 | 0 | 0 | 0 | 0 | 0 | 0.298701 | 0 | null | null | 0 | 0.051948 | null | null | 0.025974 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21f0be377a2b1d1f473cdf9e342362b4dfa9908f | 345 | py | Python | config_mypy_django_plugin.py | fj-fj-fj/tech-store | e07214354a51490df53acceec2091812ffd31360 | [
"MIT"
] | null | null | null | config_mypy_django_plugin.py | fj-fj-fj/tech-store | e07214354a51490df53acceec2091812ffd31360 | [
"MIT"
] | null | null | null | config_mypy_django_plugin.py | fj-fj-fj/tech-store | e07214354a51490df53acceec2091812ffd31360 | [
"MIT"
] | null | null | null | import os
from configurations.importer import install
from mypy.version import __version__ # noqa: F401
from mypy_django_plugin import main
def plugin(version):
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings')
os.environ.setdefault('DJANGO_CONFIGURATION', 'Development')
install()
return main.plugin(version)
| 26.538462 | 68 | 0.776812 | 42 | 345 | 6.166667 | 0.52381 | 0.061776 | 0.146718 | 0.19305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010033 | 0.133333 | 345 | 12 | 69 | 28.75 | 0.856187 | 0.028986 | 0 | 0 | 0 | 0 | 0.198198 | 0.066066 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
21f0f9312500016def30ca87e22275fe478c9678 | 9,866 | py | Python | Florence/FunctionSpace/JacobiPolynomials/NormalisedJacobi_Deprecated.py | romeric/florence | 6af96f2590adb776f74efc6fed96737a4edc4582 | [
"MIT"
] | 65 | 2017-08-04T10:21:13.000Z | 2022-02-21T21:45:09.000Z | Florence/FunctionSpace/JacobiPolynomials/NormalisedJacobi_Deprecated.py | romeric/florence | 6af96f2590adb776f74efc6fed96737a4edc4582 | [
"MIT"
] | 6 | 2018-06-03T02:29:20.000Z | 2022-01-18T02:30:22.000Z | Florence/FunctionSpace/JacobiPolynomials/NormalisedJacobi_Deprecated.py | romeric/florence | 6af96f2590adb776f74efc6fed96737a4edc4582 | [
"MIT"
] | 10 | 2018-05-30T09:44:10.000Z | 2021-05-18T08:06:51.000Z | import numpy as np
from JacobiPolynomials import *
import math
# 1D - LINE
#------------------------------------------------------------------------------------------------------------------#
#------------------------------------------------------------------------------------------------------------------#
#------------------------------------------------------------------------------------------------------------------#
def NormalisedJacobi1D(C,x):
p = np.zeros(C+2)
for i in range(0,C+2):
p[i] = JacobiPolynomials(i,x,0,0)[-1]*np.sqrt((2.*i+1.)/2.)
return p
# 2D - TRI
#------------------------------------------------------------------------------------------------------------------#
#------------------------------------------------------------------------------------------------------------------#
#------------------------------------------------------------------------------------------------------------------#
def NormalisedJacobi2D(C,x):
""" Computes the orthogonal base of 2D polynomials of degree less
or equal to C+1 at the point x=(r,s) in [-1,1]^2 (i.e. on the reference quad)
"""
N = int( (C+2.)*(C+3.)/2. )
p = np.zeros(N)
r = x[0]; s = x[1]
# Ordering: 1st increasing the degree and 2nd lexicogafic order
ncount = 0 # counter for the polynomials order
# Loop on degree
for nDeg in range(0,C+2):
# Loop by increasing i
for i in range(0,nDeg+1):
if i==0:
p_i = 1.; q_i = 1.
else:
p_i = JacobiPolynomials(i,r,0.,0.)[-1]; q_i = q_i*(1.-s)/2.
# Value for j
j = nDeg-i
if j==0:
p_j = 1.
else:
p_j = JacobiPolynomials(j,s,2.*i+1.,0.)[-1]
# factor = np.sqrt( (2.*i+1.)*(i+j+1.)/2. )
factor = math.sqrt( (2.*i+1.)*(i+j+1.)/2. )
p[ncount] = ( p_i*q_i*p_j )*factor
ncount += 1
return p
def NormalisedJacobiTri(C,x):
""" Computes the orthogonal base of 2D polynomials of degree less
or equal to n at the point x=(xi,eta) in the reference triangle
"""
xi = x[0]; eta = x[1]
if eta==1:
r = -1.; s=1.;
else:
r = 2.*(1+xi)/(1.-eta)-1.
s = eta
return NormalisedJacobi2D(C,np.array([r,s]))
def GradNormalisedJacobiTri(C,x,EvalOpt=0):
""" Computes the orthogonal base of 2D polynomials of degree less
or equal to n at the point x=(xi,eta) in the reference triangle
"""
N = int((C+2.)*(C+3.)/2.)
p = np.zeros(N);
dp_dxi = np.zeros(N)
dp_deta = np.zeros(N)
r = x[0]; s = x[1]
# THIS MAY RUIN THE CONVERGENCE, BUT FOR POST PROCESSING ITS FINE
if EvalOpt==1:
if s==1:
s=0.99999999999999
xi = (1.+r)*(1.-s)/2.-1
eta = s
dr_dxi = 2./(1.-eta)
dr_deta = 2.*(1.+xi)/(1.-eta)**2
# Derivative of s is not needed because s=eta
# Ordering: 1st increasing the degree and 2nd lexicogafic order
ncount = 0
# Loop on degree
for nDeg in range(0,C+2):
# Loop increasing i
for i in range(0,nDeg+1):
if i==0:
p_i = 1; q_i = 1; dp_i = 0; dq_i = 0
else:
p_i = JacobiPolynomials(i,r,0.,0.)[-1]; dp_i = JacobiPolynomials(i-1,r,1.,1.)[-1]*(i+1.)/2.
q_i = q_i*(1.-s)/2.; dq_i = 1.*q_i*(-i)/(1-s)
# Value for j
j = nDeg-i
if j==0:
p_j = 1; dp_j = 0
else:
p_j = JacobiPolynomials(j,s,2.*i+1.,0.)[-1]; dp_j = JacobiPolynomials(j-1,s,2.*i+2.,1.)[-1]*(j+2.*i+2.)/2.
factor = math.sqrt( (2.*i+1.)*(i+j+1.)/2. )
# Normalized polynomial
p[ncount] = ( p_i*q_i*p_j )*factor
# Derivatives with respect to (r,s)
dp_dr = ( (dp_i)*q_i*p_j )*factor
dp_ds = ( p_i*(dq_i*p_j+q_i*dp_j) )*factor
# Derivatives with respect to (xi,eta)
dp_dxi[ncount] = dp_dr*dr_dxi
dp_deta[ncount] = dp_dr*dr_deta + dp_ds
ncount += 1
return p,dp_dxi,dp_deta
# 3D - TET
#------------------------------------------------------------------------------------------------------------------#
#------------------------------------------------------------------------------------------------------------------#
#------------------------------------------------------------------------------------------------------------------#
def NormalisedJacobi3D(C,x):
"""Computes the orthogonal base of 3D polynomials of degree less
or equal to n at the point x=(r,s,t) in [-1,1]^3
"""
N = int((C+2)*(C+3)*(C+4)/6.)
p = np.zeros(N)
r = x[0]; s = x[1]; t = x[2]
# Ordering: 1st incresing the degree and 2nd lexicogafic order
ncount = 0
# Loop on degree
for nDeg in range(0,C+2):
# Loop increasing i
for i in range(0,nDeg+1):
if i==0:
p_i = 1; q_i = 1
else:
p_i = JacobiPolynomials(i,r,0.,0.)[-1]; q_i = q_i*(1.-s)/2.
# Loop increasing j
for j in range(0,nDeg-i+1):
if j==0:
p_j = 1; q_j = ((1.-t)/2.)**i
else:
p_j = JacobiPolynomials(j,s,2.*i+1.,0.)[-1]; q_j = q_j*(1.-t)/2.
# Value for k
k = nDeg-(i+j)
if k==0:
p_k = 1.
else:
p_k = JacobiPolynomials(k,t,2.*(i+j)+2.,0.)[-1]
factor = math.sqrt( (2.*i+1.)*(i+j+1.)*(2.*(i+j+k)+3.)/4. )
p[ncount] = ( p_i*q_i*p_j*q_j*p_k )*factor
ncount += 1
return p
def NormalisedJacobiTet(C,x):
"""Computes the orthogonal base of 3D polynomials of degree less
or equal to n at the point x=(r,s,t) in [-1,1]^3
"""
xi = x[0]; eta = x[1]; zeta = x[2]
if (eta+zeta)==0:
r = -1; s=1
elif zeta==1:
r = -1; s=1 # or s=-1 (check that nothing changes)
else:
r = -2.*(1+xi)/(eta+zeta)-1.;
s = 2.*(1+eta)/(1-zeta)-1.;
t = zeta
return NormalisedJacobi3D(C,[r,s,t])
# return NormalisedJacobi3D_Native(C,[r,s,t])
def GradNormalisedJacobiTet(C,x,EvalOpt=0):
"""Computes the orthogonal base of 3D polynomials of degree less
or equal to n at the point x=(r,s,t) in [-1,1]^3
"""
N = int((C+2)*(C+3)*(C+4)/6.)
p = np.zeros(N)
dp_dxi = np.zeros(N)
dp_deta = np.zeros(N)
dp_dzeta = np.zeros(N)
r = x[0]; s = x[1]; t = x[2]
# THIS MAY RUIN THE CONVERGENCE, BUT FOR POST PROCESSING ITS FINE
if EvalOpt==1:
if t==1.:
t=0.999999999999
if np.isclose(s,1.):
s=0.999999999999
if np.isclose(s,1.):
s=0.99999999999999
eta = (1./2.)*(s-s*t-1.-t)
xi = -(1./2.)*(r+1)*(eta+t)-1.
zeta = 1.0*t
# THIS MAY RUIN THE CONVERGENCE, BUT FOR POST PROCESSING ITS FINE
if eta == 0. and zeta == 0.:
eta = 1.0e-14
zeta = 1e-14
eta_zeta = eta+zeta
if np.isclose(eta_zeta,0.):
eta_zeta = 0.000000001
dr_dxi = -2./eta_zeta
dr_deta = 2.*(1.+xi)/eta_zeta**2
dr_dzeta = dr_deta
ds_deta = 2./(1.-zeta)
ds_dzeta = 2.*(1.+eta)/(1.-zeta)**2
# Derivative of t is not needed because t=zeta
#--------------------------------------------------------
# if np.allclose(eta+zeta,0):
# dr_dxi = -2./(0.001)**2
# dr_deta = 2.*(1.+xi)/(0.001)**2
# else:
# dr_dxi = -2./(eta+zeta)
# dr_deta = 2.*(1.+xi)/(eta+zeta)**2
# dr_dzeta = dr_deta
# if np.allclose(eta+zeta,0):
# ds_deta = 2./(0.001)
# ds_dzeta = 2.*(1.+eta)/(0.001)**2
# else:
# ds_deta = 2./(1.-zeta)
# ds_dzeta = 2.*(1.+eta)/(1.-zeta)**2
#--------------------------------------------------------
# Ordering: 1st increasing the degree and 2nd lexicogafic order
ncount = 0
# Loop on degree
for nDeg in range(0,C+2):
# Loop increasing i
for i in range(0,nDeg+1):
if i==0:
p_i = 1.; q_i = 1.; dp_i = 0.; dq_i = 0.
else:
p_i = JacobiPolynomials(i,r,0.,0.)[-1]; dp_i = JacobiPolynomials(i-1,r,1.,1.)[-1]*(i+1.)/2.
q_i = q_i*(1.-s)/2.; dq_i = q_i*(-i)/(1.-s)
# Loop increasing j
for j in range(0,nDeg-i+1):
if j==0:
p_j = 1; q_j = ((1.-t)/2.)**i; dp_j = 0; dq_j = q_j*(-(i+j))/(1.-t);
else:
p_j = JacobiPolynomials(j,s,2.*i+1.,0.)[-1]; dp_j = JacobiPolynomials(j-1,s,2.*i+2.,1.)[-1]*(j+2.*i+2.)/2.
q_j = q_j*(1.-t)/2.; dq_j = q_j*(-(i+j))/(1.-t)
# Value for k
k = nDeg-(i+j);
if k==0:
p_k = 1.; dp_k = 0.;
else:
p_k = JacobiPolynomials(k,t,2.*(i+j)+2.,0.)[-1]; dp_k = JacobiPolynomials(k-1,t,2.*(i+j)+3.,1.)[-1]*(k+2.*i+2.*j+3.)/2.
factor = math.sqrt( (2.*i+1.)*(i+j+1.)*(2.*(i+j+k)+3.)/4. )
# Normalized polynomial
p[ncount] = ( p_i*q_i*p_j*q_j*p_k )*factor
# Derivatives with respect to (r,s,t)
dp_dr = ( (dp_i)*q_i*p_j*q_j*p_k )*factor
dp_ds = ( p_i*(dq_i*p_j+q_i*dp_j)*q_j*p_k )*factor
dp_dt = ( p_i*q_i*p_j*(dq_j*p_k+q_j*dp_k) )*factor
# Derivatives with respect to (xi,eta,zeta)
dp_dxi[ncount] = dp_dr*dr_dxi
dp_deta[ncount] = dp_dr*dr_deta + dp_ds*ds_deta
dp_dzeta[ncount] = dp_dr*dr_dzeta + dp_ds*ds_dzeta + dp_dt
ncount += 1
return p,dp_dxi,dp_deta,dp_dzeta | 32.668874 | 140 | 0.420738 | 1,489 | 9,866 | 2.679651 | 0.085292 | 0.015539 | 0.009023 | 0.007018 | 0.780702 | 0.740351 | 0.712281 | 0.675188 | 0.651378 | 0.624812 | 0 | 0.061859 | 0.308534 | 9,866 | 302 | 141 | 32.668874 | 0.523014 | 0.338942 | 0 | 0.515337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042945 | false | 0 | 0.018405 | 0 | 0.104294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21fbf33def7e2a7ceecd0cf2a88408cb26ed3962 | 1,812 | py | Python | release/stubs.min/System/Security/AccessControl_parts/PrivilegeNotHeldException.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/Security/AccessControl_parts/PrivilegeNotHeldException.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/Security/AccessControl_parts/PrivilegeNotHeldException.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | class PrivilegeNotHeldException(UnauthorizedAccessException):
"""
The exception that is thrown when a method in the System.Security.AccessControl namespace attempts to enable a privilege that it does not have.
PrivilegeNotHeldException()
PrivilegeNotHeldException(privilege: str)
PrivilegeNotHeldException(privilege: str,inner: Exception)
"""
def ZZZ(self):
"""hardcoded/mock instance of the class"""
return PrivilegeNotHeldException()
instance=ZZZ()
"""hardcoded/returns an instance of the class"""
def GetObjectData(self,info,context):
"""
GetObjectData(self: PrivilegeNotHeldException,info: SerializationInfo,context: StreamingContext)
Sets the info parameter with information about the exception.
info: The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
context: The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
"""
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self,privilege=None,inner=None):
"""
__new__(cls: type)
__new__(cls: type,privilege: str)
__new__(cls: type,privilege: str,inner: Exception)
"""
pass
def __reduce_ex__(self,*args):
pass
def __str__(self,*args):
pass
PrivilegeName=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the name of the privilege that is not enabled.
Get: PrivilegeName(self: PrivilegeNotHeldException) -> str
"""
SerializeObjectState=None
| 37.75 | 215 | 0.742826 | 207 | 1,812 | 6.188406 | 0.405797 | 0.037471 | 0.037471 | 0.044496 | 0.122561 | 0.088212 | 0.088212 | 0.088212 | 0.088212 | 0.088212 | 0 | 0 | 0.160596 | 1,812 | 47 | 216 | 38.553191 | 0.842209 | 0.580022 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.294118 | 0 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
df06fb8878eee413e40a010aae2c0a5236a2dce0 | 431 | py | Python | app1/migrations/0002_auto_20210925_0546.py | rianaansari/My_library | 95b817ac2760d9dcb43b7cfff053056cfe3eb12d | [
"Apache-2.0"
] | null | null | null | app1/migrations/0002_auto_20210925_0546.py | rianaansari/My_library | 95b817ac2760d9dcb43b7cfff053056cfe3eb12d | [
"Apache-2.0"
] | null | null | null | app1/migrations/0002_auto_20210925_0546.py | rianaansari/My_library | 95b817ac2760d9dcb43b7cfff053056cfe3eb12d | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.7 on 2021-09-25 05:46
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app1', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='author',
name='date_of_birth',
),
migrations.RemoveField(
model_name='author',
name='date_of_death',
),
]
| 19.590909 | 47 | 0.559165 | 44 | 431 | 5.318182 | 0.704545 | 0.179487 | 0.222222 | 0.25641 | 0.393162 | 0.393162 | 0.393162 | 0.393162 | 0 | 0 | 0 | 0.068966 | 0.327146 | 431 | 21 | 48 | 20.52381 | 0.737931 | 0.104408 | 0 | 0.4 | 1 | 0 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df271127c105441127867b0671133734b58e3154 | 1,103 | py | Python | cosymlib/simulation/__init__.py | GrupEstructuraElectronicaSimetria/cosymlib | 04ac536c7c75b638e84079bacd0ece70226fdc03 | [
"MIT"
] | null | null | null | cosymlib/simulation/__init__.py | GrupEstructuraElectronicaSimetria/cosymlib | 04ac536c7c75b638e84079bacd0ece70226fdc03 | [
"MIT"
] | 8 | 2020-12-11T00:58:46.000Z | 2021-07-16T11:27:46.000Z | cosymlib/simulation/__init__.py | GrupEstructuraElectronicaSimetria/cosymlib | 04ac536c7c75b638e84079bacd0ece70226fdc03 | [
"MIT"
] | null | null | null | import huckelpy
from huckelpy import file_io
class ExtendedHuckel:
def __init__(self, geometry, charge=0):
self._EH = huckelpy.ExtendedHuckel(geometry.get_positions(), geometry.get_symbols(), charge=charge)
self._alpha_electrons = None
self._beta_electrons = None
self._total_electrons = self._EH.get_number_of_electrons()
def get_mo_coefficients(self):
return self._EH.get_eigenvectors()
def get_basis(self):
return self._EH.get_molecular_basis()
def get_mo_energies(self):
return self._EH.get_mo_energies()
def get_multiplicity(self):
return self._EH.get_multiplicity()
def get_alpha_electrons(self):
if self._alpha_electrons is None:
self._alpha_electrons = self._total_electrons // 2 + self.get_multiplicity() - 1
return self._alpha_electrons
def get_beta_electrons(self):
return self._total_electrons - self._alpha_electrons
def build_fchk_file(self, name):
txt_fchk = file_io.build_fchk(self._EH)
open(name + '.fchk', 'w').write(txt_fchk)
| 30.638889 | 107 | 0.696283 | 143 | 1,103 | 4.965035 | 0.300699 | 0.059155 | 0.126761 | 0.090141 | 0.107042 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003448 | 0.211242 | 1,103 | 35 | 108 | 31.514286 | 0.812644 | 0 | 0 | 0 | 0 | 0 | 0.00544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0.08 | 0.2 | 0.68 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
df45b74210e776a21d70e6e881d80b85c80991df | 874 | py | Python | mautrix/types/event/batch.py | tulir/mautrix-appservice-python | d180603445bb0bc465a7b2ff918c4ac28a5dbfc2 | [
"MIT"
] | 1 | 2018-08-24T13:33:30.000Z | 2018-08-24T13:33:30.000Z | mautrix/types/event/batch.py | tulir/mautrix-appservice-python | d180603445bb0bc465a7b2ff918c4ac28a5dbfc2 | [
"MIT"
] | 4 | 2018-07-10T11:43:46.000Z | 2018-09-03T22:08:02.000Z | mautrix/types/event/batch.py | tulir/mautrix-appservice-python | d180603445bb0bc465a7b2ff918c4ac28a5dbfc2 | [
"MIT"
] | 2 | 2018-07-03T04:07:08.000Z | 2018-09-10T03:13:59.000Z | # Copyright (c) 2022 Tulir Asokan, Sumner Evans
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from typing import Any
from attr import dataclass
import attr
from ..primitive import UserID
from ..util import SerializableAttrs
from .base import BaseEvent
@dataclass
class BatchSendEvent(BaseEvent, SerializableAttrs):
"""Base event class for events sent via a batch send request."""
sender: UserID
timestamp: int = attr.ib(metadata={"json": "origin_server_ts"})
content: Any
@dataclass
class BatchSendStateEvent(BatchSendEvent, SerializableAttrs):
"""
State events to be used as initial state events on batch send events. These never need to be
deserialized.
"""
state_key: str
| 26.484848 | 96 | 0.735698 | 125 | 874 | 5.12 | 0.672 | 0.015625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011252 | 0.186499 | 874 | 32 | 97 | 27.3125 | 0.888889 | 0.463387 | 0 | 0.142857 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
df46e87e30c896bf3a86559f322c509578a51604 | 118 | py | Python | dvc/path/s3.py | zb0th/dvc | 5fdbc1882f73162419d5b84ed47a33e9e321f151 | [
"Apache-2.0"
] | null | null | null | dvc/path/s3.py | zb0th/dvc | 5fdbc1882f73162419d5b84ed47a33e9e321f151 | [
"Apache-2.0"
] | null | null | null | dvc/path/s3.py | zb0th/dvc | 5fdbc1882f73162419d5b84ed47a33e9e321f151 | [
"Apache-2.0"
] | null | null | null | from dvc.scheme import Schemes
from .base import PathCloudBASE
class PathS3(PathCloudBASE):
scheme = Schemes.S3
| 16.857143 | 31 | 0.779661 | 15 | 118 | 6.133333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.161017 | 118 | 6 | 32 | 19.666667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
df84089eac65b59082205d83c06cd6c272f90434 | 145 | py | Python | banks/apps.py | lauriefacer/Facer | ff9f5ca4af302926fed49a4b9b442ff00ea212be | [
"MIT"
] | null | null | null | banks/apps.py | lauriefacer/Facer | ff9f5ca4af302926fed49a4b9b442ff00ea212be | [
"MIT"
] | null | null | null | banks/apps.py | lauriefacer/Facer | ff9f5ca4af302926fed49a4b9b442ff00ea212be | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BanksConfig(AppConfig):
name = 'banks'
class DatatableView(AppConfig):
name = 'datatableview'
| 16.111111 | 33 | 0.737931 | 15 | 145 | 7.133333 | 0.666667 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 145 | 8 | 34 | 18.125 | 0.891667 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df8883bf266f2a644d25c10b6a4793fb6917cb40 | 950 | py | Python | opyoid/bindings/instance_binding/instance_binding_to_provider_adapter.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 37 | 2020-08-25T07:22:41.000Z | 2022-03-18T03:05:53.000Z | opyoid/bindings/instance_binding/instance_binding_to_provider_adapter.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 18 | 2020-10-04T17:33:24.000Z | 2021-12-16T16:28:35.000Z | opyoid/bindings/instance_binding/instance_binding_to_provider_adapter.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 2 | 2021-01-26T19:58:15.000Z | 2021-11-30T01:10:25.000Z | from opyoid.bindings.binding import Binding
from opyoid.bindings.binding_to_provider_adapter import BindingToProviderAdapter
from opyoid.bindings.registered_binding import RegisteredBinding
from opyoid.injection_context import InjectionContext
from opyoid.provider import Provider
from opyoid.utils import InjectedT
from .from_instance_provider import FromInstanceProvider
from .instance_binding import InstanceBinding
class InstanceBindingToProviderAdapter(BindingToProviderAdapter[InstanceBinding]):
"""Creates a Provider from an InstanceBinding."""
def accept(self, binding: Binding[InjectedT], context: InjectionContext[InjectedT]) -> bool:
return isinstance(binding, InstanceBinding)
def create(self,
binding: RegisteredBinding[InstanceBinding[InjectedT]],
context: InjectionContext[InjectedT]) -> Provider[InjectedT]:
return FromInstanceProvider(binding.raw_binding.bound_instance)
| 45.238095 | 96 | 0.807368 | 92 | 950 | 8.228261 | 0.358696 | 0.07926 | 0.071334 | 0.06605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129474 | 950 | 20 | 97 | 47.5 | 0.915357 | 0.045263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.533333 | 0.133333 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
df8935cb314bb24e9c12282a7a762c31e2106abf | 307 | py | Python | backend/src/asset_manager/data/repos/license.py | JonathanLoscalzo/asset-license-dev-demo | 522c1d531e508ae7e85b212f804eee505d284b2b | [
"Xnet",
"X11"
] | null | null | null | backend/src/asset_manager/data/repos/license.py | JonathanLoscalzo/asset-license-dev-demo | 522c1d531e508ae7e85b212f804eee505d284b2b | [
"Xnet",
"X11"
] | null | null | null | backend/src/asset_manager/data/repos/license.py | JonathanLoscalzo/asset-license-dev-demo | 522c1d531e508ae7e85b212f804eee505d284b2b | [
"Xnet",
"X11"
] | null | null | null | from pymongo.database import Database
from asset_manager.data.repos.base import MongoRepository
from asset_manager.data.schemas.license import LicenseMongo
class LicenseRepository(MongoRepository[LicenseMongo]):
def __init__(self, db: Database):
super().__init__(db, "licenses", LicenseMongo)
| 34.111111 | 59 | 0.801303 | 35 | 307 | 6.742857 | 0.6 | 0.076271 | 0.135593 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114007 | 307 | 8 | 60 | 38.375 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0.026059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
10ceb5b8c333d0a852efe89da7acab8411d380e4 | 1,394 | py | Python | reconcile/test/test_utils_ocm_versions.py | bhushanthakur93/qontract-reconcile | fd8eea9f92d353224113955d08e3592864e37df8 | [
"Apache-2.0"
] | null | null | null | reconcile/test/test_utils_ocm_versions.py | bhushanthakur93/qontract-reconcile | fd8eea9f92d353224113955d08e3592864e37df8 | [
"Apache-2.0"
] | null | null | null | reconcile/test/test_utils_ocm_versions.py | bhushanthakur93/qontract-reconcile | fd8eea9f92d353224113955d08e3592864e37df8 | [
"Apache-2.0"
] | null | null | null | import pytest
from reconcile.utils.ocm import OCM
@pytest.fixture
def ocm(mocker):
mocker.patch("reconcile.utils.ocm.OCM._init_access_token")
mocker.patch("reconcile.utils.ocm.OCM._init_request_headers")
mocker.patch("reconcile.utils.ocm.OCM._init_clusters")
mocker.patch("reconcile.utils.ocm.OCM._init_version_gates")
return OCM("name", "url", "tid", "turl", "ot")
def test_no_blocked_versions(ocm):
result = ocm.version_blocked("1.2.3")
assert result is False
def test_version_blocked(ocm):
ocm.blocked_versions = ["1.2.3"]
result = ocm.version_blocked("1.2.3")
assert result is True
def test_version_not_blocked(ocm):
ocm.blocked_versions = ["1.2.3"]
result = ocm.version_blocked("1.2.4")
assert result is False
def test_version_blocked_multiple(ocm):
ocm.blocked_versions = ["1.2.3", "1.2.4"]
result = ocm.version_blocked("1.2.3")
assert result is True
def test_version_blocked_regex(ocm):
ocm.blocked_versions = [r"^.*-fc\..*$"]
result = ocm.version_blocked("1.2.3-fc.1")
assert result is True
def test_version_not_blocked_regex(ocm):
ocm.blocked_versions = [r"^.*-fc\..*$"]
result = ocm.version_blocked("1.2.3-rc.1")
assert result is False
def test_version_invalid_regex(ocm):
with pytest.raises(TypeError):
OCM("name", "url", "tid", "turl", "ot", blocked_versions=["["])
| 26.807692 | 71 | 0.689383 | 210 | 1,394 | 4.366667 | 0.22381 | 0.02181 | 0.026172 | 0.150491 | 0.762268 | 0.762268 | 0.720829 | 0.505998 | 0.441658 | 0.400218 | 0 | 0.027142 | 0.154232 | 1,394 | 51 | 72 | 27.333333 | 0.750636 | 0 | 0 | 0.371429 | 0 | 0 | 0.203013 | 0.120517 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.228571 | false | 0 | 0.057143 | 0 | 0.314286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
10f33906f4fef402a2de99509529076ca712a7c2 | 25 | py | Python | org/sfu/billing/controller/__init__.py | MehdiLebdi/Real-Time-Charging_system | 9eb59c12a36b3e10d9b3bf99bf2cd09a91376a10 | [
"Apache-2.0"
] | 1 | 2020-08-15T08:34:36.000Z | 2020-08-15T08:34:36.000Z | org/sfu/billing/controller/__init__.py | MehdiLebdi/Real-Time-Charging_system | 9eb59c12a36b3e10d9b3bf99bf2cd09a91376a10 | [
"Apache-2.0"
] | null | null | null | org/sfu/billing/controller/__init__.py | MehdiLebdi/Real-Time-Charging_system | 9eb59c12a36b3e10d9b3bf99bf2cd09a91376a10 | [
"Apache-2.0"
] | null | null | null |
__all__= ['controller']
| 8.333333 | 23 | 0.68 | 2 | 25 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 2 | 24 | 12.5 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
10f9d7dfc533d1074e71035424e95b25f68c15f6 | 340 | py | Python | Module_03/mlb.py | JoseGtz/2021_python_selenium | c7b39479c78839ba2e2e2633a0f673a8b02fb4cb | [
"Unlicense"
] | null | null | null | Module_03/mlb.py | JoseGtz/2021_python_selenium | c7b39479c78839ba2e2e2633a0f673a8b02fb4cb | [
"Unlicense"
] | null | null | null | Module_03/mlb.py | JoseGtz/2021_python_selenium | c7b39479c78839ba2e2e2633a0f673a8b02fb4cb | [
"Unlicense"
] | null | null | null | from common.webdriver_factory import get_driver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
driver = get_driver('chrome')
wait = WebDriverWait(driver, 5)
driver.get('https://www.mlb.com/es/standings')
driver.quit() | 30.909091 | 64 | 0.817647 | 48 | 340 | 5.708333 | 0.520833 | 0.131387 | 0.229927 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003215 | 0.085294 | 340 | 11 | 65 | 30.909091 | 0.877814 | 0 | 0 | 0 | 0 | 0 | 0.111437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8001270d6cfc8547c4dfb75dfc1628301ed4ccf1 | 358 | bzl | Python | org_opencv.bzl | chris-blay/bazel | 21ea699a0a6ec2f56be52ca7ed78d5964aab3c27 | [
"Apache-2.0"
] | 1 | 2018-02-06T15:56:40.000Z | 2018-02-06T15:56:40.000Z | org_opencv.bzl | chris-blay/bazel | 21ea699a0a6ec2f56be52ca7ed78d5964aab3c27 | [
"Apache-2.0"
] | null | null | null | org_opencv.bzl | chris-blay/bazel | 21ea699a0a6ec2f56be52ca7ed78d5964aab3c27 | [
"Apache-2.0"
] | null | null | null | def sample(name, custom_package):
native.android_binary(
name = name,
deps = [":sdk"],
srcs = native.glob(["samples/" + name + "/src/**/*.java"]),
custom_package = custom_package,
manifest = "samples/" + name + "/AndroidManifest.xml",
resource_files = native.glob(["samples/" + name + "/res/**/*"]),
)
| 35.8 | 72 | 0.550279 | 35 | 358 | 5.485714 | 0.6 | 0.203125 | 0.177083 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25419 | 358 | 9 | 73 | 39.777778 | 0.719101 | 0 | 0 | 0 | 0 | 0 | 0.198324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
802b20d5dcc6e53ad2602168453ebf276324e2c7 | 143 | py | Python | Lms_Arpita/DatabaseConnectivity/MongoConnection.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | null | null | null | Lms_Arpita/DatabaseConnectivity/MongoConnection.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | 3 | 2020-07-13T17:46:32.000Z | 2020-07-26T10:30:59.000Z | Lms_Arpita/DatabaseConnectivity/MongoConnection.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | null | null | null | from pymongo import MongoClient
def path():
client = MongoClient('mongodb://localhost:27017/')
db = client['UserBook']
return db
| 17.875 | 54 | 0.678322 | 16 | 143 | 6.0625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.195804 | 143 | 7 | 55 | 20.428571 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.237762 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
339c2850fe3848ca48de45f881ca59f6d9fd81f3 | 153 | py | Python | locale/pot/api/utilities/_autosummary/pyvista-Disc-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/utilities/_autosummary/pyvista-Disc-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/utilities/_autosummary/pyvista-Disc-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | # Create a disc with 50 points in the circumferential direction.
#
import pyvista
mesh = pyvista.Disc(c_res=50)
mesh.plot(show_edges=True, line_width=5)
| 25.5 | 64 | 0.784314 | 26 | 153 | 4.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 0.124183 | 153 | 5 | 65 | 30.6 | 0.835821 | 0.405229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
33a406fd3d5662cdfecad65c9a454e308ebff473 | 274 | py | Python | survivethevoid/utils/math_func.py | LMikeH/SurviveTheVoid | e517870d1dca388a54f8f523879c6c8583101a02 | [
"bzip2-1.0.6"
] | null | null | null | survivethevoid/utils/math_func.py | LMikeH/SurviveTheVoid | e517870d1dca388a54f8f523879c6c8583101a02 | [
"bzip2-1.0.6"
] | null | null | null | survivethevoid/utils/math_func.py | LMikeH/SurviveTheVoid | e517870d1dca388a54f8f523879c6c8583101a02 | [
"bzip2-1.0.6"
] | null | null | null | import numpy as np
def R(angle):
rad_angle = (angle)*np.pi/180
return np.array([[np.cos(rad_angle), -np.sin(rad_angle)],
[np.sin(rad_angle), np.cos(rad_angle)]])
if __name__ == "__main__":
a = np.array([0, 1])
print(np.dot(R(180), a))
| 24.909091 | 61 | 0.572993 | 46 | 274 | 3.130435 | 0.478261 | 0.277778 | 0.208333 | 0.180556 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0.037915 | 0.229927 | 274 | 10 | 62 | 27.4 | 0.64455 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33c1247fa87d16457ea55bc1e3f8ebb9f2eb5bf2 | 21 | py | Python | portfolios/trader/__init__.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 4 | 2020-08-18T09:52:37.000Z | 2021-03-26T19:59:03.000Z | portfolios/trader/__init__.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 4 | 2019-07-06T17:48:46.000Z | 2020-05-11T01:40:18.000Z | portfolios/trader/__init__.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 2 | 2019-02-28T08:02:47.000Z | 2019-07-09T04:23:23.000Z | __all__ = ["orders"]
| 10.5 | 20 | 0.619048 | 2 | 21 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33cab9736c2b33f9dc7ebf54dc2179461c98e762 | 1,263 | py | Python | testtool.py | andreasscherbaum/pg_commitfest_testtool | 4e40ef441401faddc34861a92f41a9ca60c7560c | [
"BSD-3-Clause"
] | 1 | 2017-10-26T13:52:53.000Z | 2017-10-26T13:52:53.000Z | testtool.py | andreasscherbaum/pg_commitfest_testtool | 4e40ef441401faddc34861a92f41a9ca60c7560c | [
"BSD-3-Clause"
] | null | null | null | testtool.py | andreasscherbaum/pg_commitfest_testtool | 4e40ef441401faddc34861a92f41a9ca60c7560c | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
#
# test tool for PostgreSQL Commitfest website
#
# written by: Andreas Scherbaum <ads@pgug.de>
#
import re
import os
import sys
import logging
import tempfile
import atexit
import shutil
import time
import subprocess
from subprocess import Popen
import socket
import sqlite3
import datetime
from time import gmtime, localtime, strftime
# config functions
from config import Config
import copy
# start with 'info', can be overriden by '-q' later on
logging.basicConfig(level = logging.INFO,
format = '%(levelname)s: %(message)s')
# exit_handler()
#
# exit handler, called upon exit of the script
# main job: remove the temp directory
#
# parameters:
# none
# return:
# none
def exit_handler():
# do something in the end ...
pass
# register exit handler
atexit.register(exit_handler)
#######################################################################
# main code
# config todo:
# * test technology (Docker, LXC, ...)
config = Config()
config.parse_parameters()
config.load_config()
config.build_and_verify_config()
# by now the lockfile is acquired, there is no other instance running
# before starting new jobs, cleanup remaining old ones
# startup
config.cleanup_old_dirs_and_files()
# main mode
| 16.402597 | 71 | 0.699129 | 165 | 1,263 | 5.278788 | 0.642424 | 0.063146 | 0.043628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000949 | 0.165479 | 1,263 | 76 | 72 | 16.618421 | 0.825427 | 0.43943 | 0 | 0 | 0 | 0 | 0.042763 | 0 | 0 | 0 | 0 | 0.013158 | 0 | 1 | 0.038462 | false | 0.038462 | 0.615385 | 0 | 0.653846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
33f9bc9ef4a0562402b71b8f52d5b6955d65ca99 | 264 | py | Python | tests/utils.py | mihhail-m/avaandmed-py | c64b07db989b9aff4cfa7f4e18efc0c47ae5e219 | [
"MIT"
] | null | null | null | tests/utils.py | mihhail-m/avaandmed-py | c64b07db989b9aff4cfa7f4e18efc0c47ae5e219 | [
"MIT"
] | 5 | 2022-03-17T15:00:23.000Z | 2022-03-26T08:33:19.000Z | tests/utils.py | mihhail-m/avaandmed-py | c64b07db989b9aff4cfa7f4e18efc0c47ae5e219 | [
"MIT"
] | null | null | null | import json
from pathlib import Path
def load_json(path: Path):
data = None
with open(path.absolute(), encoding='utf-8') as f:
data = json.load(f)
return data
def format_mock_url(url: str, mock_value: str):
return f'{url}/{mock_value}'
| 18.857143 | 54 | 0.659091 | 42 | 264 | 4.02381 | 0.547619 | 0.106509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0.215909 | 264 | 13 | 55 | 20.307692 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0.087121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d5155bb3abd235bf78598d767115ae4c2571c009 | 55 | py | Python | pytorchltr/__init__.py | rjagerman/pytorchltr | 625416e1e7d21fb2bbc485914704fc2e55274556 | [
"MIT"
] | 37 | 2020-05-24T13:40:52.000Z | 2022-03-17T09:00:52.000Z | pytorchltr/__init__.py | SuperXiang/pytorchltr | 625416e1e7d21fb2bbc485914704fc2e55274556 | [
"MIT"
] | 22 | 2020-05-25T11:35:38.000Z | 2021-03-20T04:08:07.000Z | pytorchltr/__init__.py | SuperXiang/pytorchltr | 625416e1e7d21fb2bbc485914704fc2e55274556 | [
"MIT"
] | 4 | 2020-10-16T13:14:16.000Z | 2022-01-31T17:18:20.000Z | r"""
.. include::../README.md
:start-line: 1
"""
| 7.857143 | 24 | 0.472727 | 7 | 55 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.218182 | 55 | 6 | 25 | 9.166667 | 0.581395 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d14d1a8f4768aa5af1d7409da82dc30b96fd135 | 367 | py | Python | test_memory.py | dbstein/python_examples | 664142b5f8e5f58c04f1d588bc6659221dc6b0a9 | [
"Apache-2.0"
] | null | null | null | test_memory.py | dbstein/python_examples | 664142b5f8e5f58c04f1d588bc6659221dc6b0a9 | [
"Apache-2.0"
] | null | null | null | test_memory.py | dbstein/python_examples | 664142b5f8e5f58c04f1d588bc6659221dc6b0a9 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from numexpr_kernel import numexpr_kernel
from numba_kernel import numba_kernel
N = 10000
x = np.random.rand(N)
y = np.random.rand(N)
z = np.random.rand(N)
tau = np.random.rand(N)
r1 = numexpr_kernel(x, y, z, tau)
r1 = numexpr_kernel(x, y, z, tau)
r2 = np.zeros(N, dtype=float)
numba_kernel(x, y, z, tau, r2, N)
numba_kernel(x, y, z, tau, r2, N)
| 22.9375 | 41 | 0.700272 | 74 | 367 | 3.364865 | 0.283784 | 0.208835 | 0.192771 | 0.208835 | 0.337349 | 0.337349 | 0.329317 | 0.160643 | 0 | 0 | 0 | 0.032258 | 0.155313 | 367 | 15 | 42 | 24.466667 | 0.770968 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d1ad6315c73b6924e164f03e7e42156df8826eb | 1,224 | py | Python | cogs/WelcomeCog.py | tandemdude/DevilDonkey | be2c561f73c42aa2d5016e186bef2538658475d5 | [
"MIT"
] | 1 | 2021-08-22T17:34:41.000Z | 2021-08-22T17:34:41.000Z | cogs/WelcomeCog.py | tandemdude/DevilDonkey | be2c561f73c42aa2d5016e186bef2538658475d5 | [
"MIT"
] | null | null | null | cogs/WelcomeCog.py | tandemdude/DevilDonkey | be2c561f73c42aa2d5016e186bef2538658475d5 | [
"MIT"
] | null | null | null | # User welcome extension coded by github u/tandemdude
# https://github.com/tandemdude
import discord
import json
from discord.ext import commands
class Welcome(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
async def on_member_join(self, member):
with open('config.json') as json_file:
config = json.load(json_file)
welcome_channel_id = config['welcome_ch']
if welcome_channel_id != 0:
a = discord.Embed(title='Welcome!', color=0xde2bea)
a.set_author(name=f'{member.display_name} Has joined the server!', icon_url=member.avatar_url)
welcome_channel = self.bot.get_channel(welcome_channel_id)
await welcome_channel.send(embed=a)
@commands.Cog.listener()
async def on_member_remove(self, member):
with open('config.json') as json_file:
config = json.load(json_file)
welcome_channel_id = config['welcome_ch']
if welcome_channel_id != 0:
a = discord.Embed(title='See you again soon!', color=0xde2bea)
a.set_author(name=f'{member.display_name} Has left the server 😢', icon_url=member.avatar_url)
welcome_channel = self.bot.get_channel(welcome_channel_id)
await welcome_channel.send(embed=a)
def setup(bot):
bot.add_cog(Welcome(bot))
| 29.142857 | 97 | 0.747549 | 188 | 1,224 | 4.654255 | 0.356383 | 0.16 | 0.109714 | 0.054857 | 0.706286 | 0.706286 | 0.706286 | 0.626286 | 0.626286 | 0.626286 | 0 | 0.00566 | 0.133987 | 1,224 | 41 | 98 | 29.853659 | 0.818868 | 0.066176 | 0 | 0.5 | 0 | 0 | 0.136842 | 0.036842 | 0 | 0 | 0.014035 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.107143 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d2f8198cf092ac9dcd093d637fd09e17f523d59 | 65 | py | Python | projects/microphysics/scripts/config.py | jacnugent/fv3net | 84958651bdd17784fdab98f87ad0d65414c03368 | [
"MIT"
] | 5 | 2021-03-20T22:42:40.000Z | 2021-06-30T18:39:36.000Z | projects/microphysics/scripts/config.py | jacnugent/fv3net | 84958651bdd17784fdab98f87ad0d65414c03368 | [
"MIT"
] | 195 | 2021-09-16T05:47:18.000Z | 2022-03-31T22:03:15.000Z | projects/microphysics/scripts/config.py | ai2cm/fv3net | e62038aee0a97d6207e66baabd8938467838cf51 | [
"MIT"
] | 1 | 2021-06-16T22:04:24.000Z | 2021-06-16T22:04:24.000Z | BUCKET = "vcm-ml-experiments"
PROJECT = "microphysics-emulation"
| 21.666667 | 34 | 0.769231 | 7 | 65 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 2 | 35 | 32.5 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d590653c6d0bc80cf945214103ea57aa9992bdd | 1,087 | py | Python | bots/rand/rand.py | markmelnic/IS-Project | 85a4418c1ec9da4bd4fd105c20f4ca5c50d99ff5 | [
"MIT"
] | 51 | 2019-02-01T19:43:37.000Z | 2022-03-16T09:07:03.000Z | bots/rand/rand.py | markmelnic/IS-Project | 85a4418c1ec9da4bd4fd105c20f4ca5c50d99ff5 | [
"MIT"
] | 2 | 2019-02-23T18:54:22.000Z | 2019-11-09T01:30:32.000Z | bots/rand/rand.py | markmelnic/IS-Project | 85a4418c1ec9da4bd4fd105c20f4ca5c50d99ff5 | [
"MIT"
] | 35 | 2019-02-08T02:00:31.000Z | 2022-03-01T23:17:00.000Z | """
RandomBot -- A simple strategy: enumerates all legal moves, and picks one
uniformly at random.
"""
# Import the API objects
from api import State
import random
class Bot:
def __init__(self):
pass
def get_move(self, state):
# type: (State) -> tuple[int, int]
"""
Function that gets called every turn. This is where to implement the strategies.
Be sure to make a legal move. Illegal moves, like giving an index of a card you
don't own or proposing an illegal mariage, will lose you the game.
TODO: add some more explanation
:param State state: An object representing the gamestate. This includes a link to
the states of all the cards, the trick and the points.
:return: A tuple of integers or a tuple of an integer and None,
indicating a move; the first indicates the card played in the trick, the second a
potential spouse.
"""
# All legal moves
moves = state.moves()
# Return a random choice
return random.choice(moves) | 31.057143 | 93 | 0.645814 | 156 | 1,087 | 4.467949 | 0.583333 | 0.022956 | 0.037303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296228 | 1,087 | 35 | 94 | 31.057143 | 0.911111 | 0.701932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1d5e37d663df33d8a715b4a60c72cd71296f8689 | 29 | py | Python | validation/__init__.py | pauloubuntu/ocr-processing-service | 3a8e755e6ec62336499280e4a48ffbd0d41df3cf | [
"MIT"
] | 22 | 2015-06-10T22:40:11.000Z | 2018-08-12T04:26:57.000Z | validation/__init__.py | pauloubuntu/ocr-processing-service | 3a8e755e6ec62336499280e4a48ffbd0d41df3cf | [
"MIT"
] | 6 | 2015-07-31T17:52:49.000Z | 2017-03-06T11:36:00.000Z | validation/__init__.py | nfscan/ocr-processing-service | 3a8e755e6ec62336499280e4a48ffbd0d41df3cf | [
"MIT"
] | 20 | 2015-06-10T12:47:10.000Z | 2020-03-24T20:23:14.000Z | __author__ = 'paulo.rodenas'
| 14.5 | 28 | 0.758621 | 3 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d8b6f8e19293ba21c2228c7a6bbaaebe7835fb6 | 425 | py | Python | libs/yowsup/yowsup/yowsup/layers/protocol_receipts/protocolentities/test_receipt_outgoing.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 22 | 2017-07-14T20:01:17.000Z | 2022-03-08T14:22:39.000Z | libs/yowsup/yowsup/yowsup/layers/protocol_receipts/protocolentities/test_receipt_outgoing.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 6 | 2017-07-14T21:03:50.000Z | 2021-06-10T19:08:32.000Z | libs/yowsup/yowsup/yowsup/layers/protocol_receipts/protocolentities/test_receipt_outgoing.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 13 | 2017-07-14T20:13:14.000Z | 2020-11-12T08:06:05.000Z | from yowsup.layers.protocol_receipts.protocolentities import OutgoingReceiptProtocolEntity
from yowsup.structs.protocolentity import ProtocolEntityTest
import unittest
class OutgoingReceiptProtocolEntityTest(ProtocolEntityTest, unittest.TestCase):
def setUp(self):
self.ProtocolEntity = OutgoingReceiptProtocolEntity
self.node = OutgoingReceiptProtocolEntity("123", "target", "read").toProtocolTreeNode() | 53.125 | 95 | 0.828235 | 34 | 425 | 10.323529 | 0.676471 | 0.05698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007853 | 0.101176 | 425 | 8 | 95 | 53.125 | 0.910995 | 0 | 0 | 0 | 0 | 0 | 0.030516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1d8eb891210e75a2298ded03715a2b3415109050 | 230 | py | Python | gameplay/urls.py | Urosh91/TicTacToe | 40d6c763993b525327d2c3cd3f132dc8822c85fe | [
"MIT"
] | null | null | null | gameplay/urls.py | Urosh91/TicTacToe | 40d6c763993b525327d2c3cd3f132dc8822c85fe | [
"MIT"
] | null | null | null | gameplay/urls.py | Urosh91/TicTacToe | 40d6c763993b525327d2c3cd3f132dc8822c85fe | [
"MIT"
] | null | null | null | from django.urls import path
from .views import game_detail, make_move
urlpatterns = [
path(r'detail/<int:id>/', game_detail, name="gameplay_detail"),
path(r'make_move/<int:id>', make_move, name="gameplay_make_move")
]
| 23 | 69 | 0.721739 | 35 | 230 | 4.514286 | 0.457143 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 230 | 9 | 70 | 25.555556 | 0.79 | 0 | 0 | 0 | 0 | 0 | 0.291304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1da32fba530eac4eeca4097a02c12b5c6d943941 | 464 | py | Python | back-end/src/handler/common/image.py | gfxcc/san11-platform | 1d085d818bc265f5ffa7e8a7279c3b686deed98c | [
"MIT"
] | 2 | 2021-12-23T06:18:35.000Z | 2021-12-23T06:18:39.000Z | back-end/src/handler/common/image.py | gfxcc/san11-platform-back-end | 74f60d201e21396c5c8601ddc404077ebd97871f | [
"MIT"
] | 9 | 2021-03-10T01:54:16.000Z | 2022-03-27T21:38:34.000Z | back-end/src/handler/common/image.py | gfxcc/san11-platform-back-end | 74f60d201e21396c5c8601ddc404077ebd97871f | [
"MIT"
] | null | null | null | from __future__ import annotations
import logging
import os
import os.path
from ..util import gcs
logger = logging.getLogger(os.path.basename(__file__))
class Image:
def __init__(self, url) -> None:
self.url = url
def __str__(self) -> str:
return self.url
def delete(self):
gcs.delete_resource(self.url)
logger.info(f'{self} is deleted')
@classmethod
def from_url(cls, url: str):
return cls(url)
| 17.846154 | 54 | 0.650862 | 63 | 464 | 4.507937 | 0.47619 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24569 | 464 | 25 | 55 | 18.56 | 0.811429 | 0 | 0 | 0 | 0 | 0 | 0.036638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.294118 | 0.117647 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d5220e82bf5048293d79285d2100fa6124ce5c82 | 695 | py | Python | Arrays and Strings/LongestSubstringWithoutRepeating.py | dileeppandey/hello-interview | 78f6cf4e2da4106fd07f4bd86247026396075c69 | [
"MIT"
] | null | null | null | Arrays and Strings/LongestSubstringWithoutRepeating.py | dileeppandey/hello-interview | 78f6cf4e2da4106fd07f4bd86247026396075c69 | [
"MIT"
] | null | null | null | Arrays and Strings/LongestSubstringWithoutRepeating.py | dileeppandey/hello-interview | 78f6cf4e2da4106fd07f4bd86247026396075c69 | [
"MIT"
] | 1 | 2020-02-12T16:57:46.000Z | 2020-02-12T16:57:46.000Z | """
https://leetcode.com/problems/longest-substring-without-repeating-characters/
Given a string, find the length of the longest substring without repeating characters.
"""
class Solution:
def lengthOfLongestSubstring(self, s):
longest = 0
longest_substr = ""
for ch in s:
if ch not in longest_substr:
longest_substr += ch
else:
if len(longest_substr) > longest:
longest = len(longest_substr)
longest_substr = longest_substr[(longest_substr.find(ch)+1):] + ch
return max(longest, len(longest_substr))
s=Solution()
print(s.lengthOfLongestSubstring("umvejcuuk"))
| 27.8 | 86 | 0.630216 | 77 | 695 | 5.571429 | 0.467532 | 0.272727 | 0.2331 | 0.242424 | 0.317016 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0.003968 | 0.27482 | 695 | 24 | 87 | 28.958333 | 0.847222 | 0.235971 | 0 | 0 | 0 | 0 | 0.017274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.214286 | 0.071429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d52452bbbdfe7f2a5739d5992e91cfe848ffbc23 | 154 | py | Python | toal/annotators/AbstractAnnotator.py | Bhaskers-Blu-Org1/text-oriented-active-learning | facfb40673a59e43391b7bdb508e612dff1988d9 | [
"MIT"
] | 4 | 2020-10-23T14:42:30.000Z | 2021-06-10T13:29:04.000Z | toal/annotators/AbstractAnnotator.py | Bhaskers-Blu-Org1/text-oriented-active-learning | facfb40673a59e43391b7bdb508e612dff1988d9 | [
"MIT"
] | null | null | null | toal/annotators/AbstractAnnotator.py | Bhaskers-Blu-Org1/text-oriented-active-learning | facfb40673a59e43391b7bdb508e612dff1988d9 | [
"MIT"
] | 1 | 2020-07-30T10:35:09.000Z | 2020-07-30T10:35:09.000Z | import abc
class AbstractAnnotator(abc.ABC):
@abc.abstractmethod
def annotate(self, unlab_index, unlabeled):
raise NotImplementedError() | 22 | 47 | 0.733766 | 16 | 154 | 7 | 0.8125 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 7 | 48 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d535e635e6b66ba70c20fb56aebb09ef9c95a99d | 2,435 | py | Python | tests/engine/training/test_fingerprinting.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 9,701 | 2019-04-16T15:46:27.000Z | 2022-03-31T11:52:18.000Z | tests/engine/training/test_fingerprinting.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 6,420 | 2019-04-16T15:58:22.000Z | 2022-03-31T17:54:35.000Z | tests/engine/training/test_fingerprinting.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 3,063 | 2019-04-16T15:23:52.000Z | 2022-03-31T00:01:12.000Z | import inspect
from unittest.mock import Mock
from _pytest.monkeypatch import MonkeyPatch
from rasa.core.policies.ted_policy import TEDPolicy
from rasa.engine.training import fingerprinting
from rasa.nlu.classifiers.diet_classifier import DIETClassifier
from rasa.nlu.selectors.response_selector import ResponseSelector
from tests.engine.training.test_components import FingerprintableText
def test_fingerprint_stays_same():
key1 = fingerprinting.calculate_fingerprint_key(
TEDPolicy, TEDPolicy.get_default_config(), {"input": FingerprintableText("Hi")},
)
key2 = fingerprinting.calculate_fingerprint_key(
TEDPolicy, TEDPolicy.get_default_config(), {"input": FingerprintableText("Hi")},
)
assert key1 == key2
def test_fingerprint_changes_due_to_class():
key1 = fingerprinting.calculate_fingerprint_key(
DIETClassifier,
TEDPolicy.get_default_config(),
{"input": FingerprintableText("Hi")},
)
key2 = fingerprinting.calculate_fingerprint_key(
ResponseSelector,
TEDPolicy.get_default_config(),
{"input": FingerprintableText("Hi")},
)
assert key1 != key2
def test_fingerprint_changes_due_to_config():
key1 = fingerprinting.calculate_fingerprint_key(
TEDPolicy, {}, {"input": FingerprintableText("Hi")},
)
key2 = fingerprinting.calculate_fingerprint_key(
ResponseSelector,
TEDPolicy.get_default_config(),
{"input": FingerprintableText("Hi")},
)
assert key1 != key2
def test_fingerprint_changes_due_to_inputs():
key1 = fingerprinting.calculate_fingerprint_key(
TEDPolicy, {}, {"input": FingerprintableText("Hi")},
)
key2 = fingerprinting.calculate_fingerprint_key(
ResponseSelector,
TEDPolicy.get_default_config(),
{"input": FingerprintableText("bye")},
)
assert key1 != key2
def test_fingerprint_changes_due_to_changed_source(monkeypatch: MonkeyPatch):
key1 = fingerprinting.calculate_fingerprint_key(
TEDPolicy, {}, {"input": FingerprintableText("Hi")},
)
get_source_mock = Mock(return_value="other implementation")
monkeypatch.setattr(inspect, inspect.getsource.__name__, get_source_mock)
key2 = fingerprinting.calculate_fingerprint_key(
TEDPolicy, {}, {"input": FingerprintableText("Hi")},
)
assert key1 != key2
get_source_mock.assert_called_once_with(TEDPolicy)
| 30.822785 | 88 | 0.725667 | 240 | 2,435 | 7.05 | 0.254167 | 0.135934 | 0.200946 | 0.218676 | 0.656028 | 0.631797 | 0.618794 | 0.618794 | 0.576241 | 0.505319 | 0 | 0.009945 | 0.174127 | 2,435 | 78 | 89 | 31.217949 | 0.831427 | 0 | 0 | 0.508475 | 0 | 0 | 0.037372 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 1 | 0.084746 | false | 0 | 0.135593 | 0 | 0.220339 | 0.457627 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d54a0002af3d3a00d396f68eb323f46a1f109f28 | 357 | py | Python | backend/saas_framework/sharing/views.py | snarayanank2/django-workspaces | 46ef92a4caa95eee617a24ead284e533422afca0 | [
"MIT"
] | 1 | 2021-01-27T17:51:58.000Z | 2021-01-27T17:51:58.000Z | backend/saas_framework/sharing/views.py | snarayanank2/django-workspaces | 46ef92a4caa95eee617a24ead284e533422afca0 | [
"MIT"
] | 6 | 2021-03-30T13:51:35.000Z | 2022-03-02T09:24:07.000Z | backend/saas_framework/sharing/views.py | snarayanank2/django-workspaces | 46ef92a4caa95eee617a24ead284e533422afca0 | [
"MIT"
] | 1 | 2022-03-18T08:43:17.000Z | 2022-03-18T08:43:17.000Z | import logging
from rest_framework import viewsets
from saas_framework.sharing.models import Sharing
from saas_framework.sharing.serializers import SharingSerializer
logger = logging.getLogger(__name__)
class SharingViewSet(viewsets.ModelViewSet):
queryset = Sharing.objects.all()
serializer_class = SharingSerializer
ordering = 'created_at'
| 27.461538 | 64 | 0.820728 | 39 | 357 | 7.282051 | 0.615385 | 0.056338 | 0.119718 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120448 | 357 | 12 | 65 | 29.75 | 0.904459 | 0 | 0 | 0 | 0 | 0 | 0.028011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d564cb51b33bc55213dfe9dbf9c99c0386c1608f | 402 | py | Python | ch05/first.n.squares.manual.method.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | ch05/first.n.squares.manual.method.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | ch05/first.n.squares.manual.method.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | # first.n.squares.manual.method.py
def get_squares_gen(n):
for x in range(n):
yield x ** 2
squares = get_squares_gen(3)
print(squares.__next__()) # prints: 0
print(squares.__next__()) # prints: 1
print(squares.__next__()) # prints: 4
# the following raises StopIteration, the generator is exhausted,
# any further call to next will keep raising StopIteration
print(squares.__next__())
| 28.714286 | 65 | 0.723881 | 59 | 402 | 4.59322 | 0.610169 | 0.177122 | 0.236162 | 0.243542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014793 | 0.159204 | 402 | 13 | 66 | 30.923077 | 0.786982 | 0.455224 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d56a6b6cc928e92831ff43c629863b6b344a0193 | 614 | py | Python | examples/bintree.py | jdrprod/Pym-s | e68dfb840bd36fe60cda02de3b96762e9138071a | [
"MIT"
] | 3 | 2019-08-16T20:54:09.000Z | 2020-04-26T02:43:57.000Z | examples/bintree.py | jdrprod/Pym-s | e68dfb840bd36fe60cda02de3b96762e9138071a | [
"MIT"
] | null | null | null | examples/bintree.py | jdrprod/Pym-s | e68dfb840bd36fe60cda02de3b96762e9138071a | [
"MIT"
] | null | null | null | class binary_tree:
def __init__(self):
pass
class Node(binary_tree):
__field_0 : int
__field_1 : binary_tree
__field_2 : binary_tree
def __init__(self, arg_0 : int , arg_1 : binary_tree , arg_2 : binary_tree ):
self.__field_0 = arg_0
self.__field_1 = arg_1
self.__field_2 = arg_2
def __iter__(self):
yield self.__field_0
yield self.__field_1
yield self.__field_2
class Leaf(binary_tree):
__field_0 : int
def __init__(self, arg_0 : int ):
self.__field_0 = arg_0
def __iter__(self):
yield self.__field_0
| 24.56 | 81 | 0.636808 | 91 | 614 | 3.516484 | 0.186813 | 0.225 | 0.125 | 0.10625 | 0.578125 | 0.275 | 0.1625 | 0 | 0 | 0 | 0 | 0.045767 | 0.288274 | 614 | 24 | 82 | 25.583333 | 0.686499 | 0 | 0 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.047619 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d5964f0e3f92c5ca6a4083ce024d1eef5ffe0c51 | 350 | py | Python | elements/light.py | partha-ghosh/pyeffects | b941e9b09c9889c01b103d758707d36c3520de2a | [
"MIT"
] | null | null | null | elements/light.py | partha-ghosh/pyeffects | b941e9b09c9889c01b103d758707d36c3520de2a | [
"MIT"
] | null | null | null | elements/light.py | partha-ghosh/pyeffects | b941e9b09c9889c01b103d758707d36c3520de2a | [
"MIT"
] | null | null | null | import numpy as np
class Light:
_position = np.array([960, 540, 300.0, 1])
_color = np.array([255, 255, 255])
def set_position(position):
Light._position = position
def set_color(color):
Light._color = color
def get_color():
return Light._color
def get_position():
return Light._position
| 18.421053 | 46 | 0.617143 | 46 | 350 | 4.478261 | 0.413043 | 0.18932 | 0.106796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079051 | 0.277143 | 350 | 18 | 47 | 19.444444 | 0.735178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
633fea310c7ede3fcdb48e65d6529aca3feaa371 | 300 | py | Python | WhatsAppManifest/automator/android/__init__.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 15 | 2020-03-11T17:31:12.000Z | 2021-11-19T03:26:09.000Z | WhatsAppManifest/automator/android/__init__.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 5 | 2021-03-31T19:43:15.000Z | 2022-03-12T00:18:38.000Z | WhatsAppManifest/automator/android/__init__.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 4 | 2020-03-11T01:52:57.000Z | 2021-03-16T04:14:33.000Z | """
Module responsible for all automation related to the device
"""
__author__ = 'Henrique da Silva Santos'
__copyright__ = 'Copyright 2020, WhatsAppManifest'
from WhatsAppManifest.automator.android.phone import AndroidPhone
from WhatsAppManifest.automator.android.contacts import AndroidContacts
| 27.272727 | 71 | 0.826667 | 32 | 300 | 7.5 | 0.78125 | 0.166667 | 0.241667 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014981 | 0.11 | 300 | 10 | 72 | 30 | 0.883895 | 0.196667 | 0 | 0 | 0 | 0 | 0.240343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6343d7c7cb482c3822a30210560f4a05a0ff2ffb | 1,087 | py | Python | stubs.min/System/Windows/Interop_parts/WindowInteropHelper.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/Windows/Interop_parts/WindowInteropHelper.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Windows/Interop_parts/WindowInteropHelper.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class WindowInteropHelper(object):
"""
Assists interoperation between Windows Presentation Foundation (WPF) and Win32 code.
WindowInteropHelper(window: Window)
"""
def EnsureHandle(self):
"""
EnsureHandle(self: WindowInteropHelper) -> IntPtr
Creates the HWND of the window if the HWND has not been created yet.
Returns: An System.IntPtr that represents the HWND.
"""
pass
@staticmethod
def __new__(self,window):
""" __new__(cls: type,window: Window) """
pass
Handle=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the window handle for a Windows Presentation Foundation (WPF) window�that is used to create this System.Windows.Interop.WindowInteropHelper.
Get: Handle(self: WindowInteropHelper) -> IntPtr
"""
Owner=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the handle of the Windows Presentation Foundation (WPF)�owner window.
Get: Owner(self: WindowInteropHelper) -> IntPtr
Set: Owner(self: WindowInteropHelper)=value
"""
| 30.194444 | 151 | 0.710212 | 132 | 1,087 | 5.80303 | 0.44697 | 0.078329 | 0.113577 | 0.125326 | 0.148825 | 0.148825 | 0.148825 | 0.148825 | 0.148825 | 0.148825 | 0.00184 | 0.002265 | 0.187672 | 1,087 | 35 | 152 | 31.057143 | 0.862967 | 0.307268 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6355c736188798e18f8ebe25d3c958a69c9cea68 | 54,947 | py | Python | main.py | openmindednewby/Tool-for-creating-lip-recognition-datasets | d8bd97cfa112e8e2fb1f4cca20a7093493e3ed9d | [
"MIT"
] | 4 | 2020-07-22T16:10:55.000Z | 2021-11-25T08:32:34.000Z | main.py | openmindednewby/Tool-for-creating-lip-recognition-datasets | d8bd97cfa112e8e2fb1f4cca20a7093493e3ed9d | [
"MIT"
] | null | null | null | main.py | openmindednewby/Tool-for-creating-lip-recognition-datasets | d8bd97cfa112e8e2fb1f4cca20a7093493e3ed9d | [
"MIT"
] | 2 | 2020-12-30T22:07:54.000Z | 2021-02-02T01:12:13.000Z | ''' Every type you encounter ##EDIT_ME## you will need to adjust these settings '''
import pandas as pd
import numpy as np
import module_youtube_extract
import module_convert_audio_to_wav
import module_process_subtitles
import module_save_variables
import module_video_processing
import module_sample_name
import module_face_detection
##EDIT_ME##
#---
# tested and work wihtought any changes to the code
INPUT_URL = 'https://www.youtube.com/watch?v=6cXdS_qVfUc'
#INPUT_URL = 'https://www.youtube.com/watch?v=v2Q3eoUldcE'
#INPUT_URL = 'https://www.youtube.com/watch?v=kayOhGRcNt4'
#INPUT_URL = 'https://www.youtube.com/watch?v=YHCZt8LeQzI&fbclid=IwAR2e436VcxEBWWnnz48W2vPU4iTfFpxgglA9U7uIOFP1XCA1sdp4h_qnmLI'
#INPUT_URL = 'https://www.youtube.com/watch?v=a1Kxhhmqt8U'
#INPUT_URL = 'https://www.youtube.com/watch?v=dRFbwjwQ4VE'
#INPUT_URL = 'https://www.youtube.com/watch?v=PpV_5-tCS-c'
#INPUT_URL = 'https://www.youtube.com/watch?v=DhYeqgufYss'
#INPUT_URL = 'https://www.youtube.com/watch?v=HqI0jbKGaT8&pbjreload=10'
#INPUT_URL = 'https://www.youtube.com/watch?v=kR-WCDa4NSc'
#INPUT_URL = 'https://www.youtube.com/watch?v=PjQ-AfRNG18'
#INPUT_URL = 'https://www.youtube.com/watch?v=PACH0XKozuU'
#INPUT_URL = 'https://www.youtube.com/watch?v=ie6lRKAdvuY'
#INPUT_URL = 'https://www.youtube.com/watch?v=w2PQEzDawMw'
#INPUT_URL = 'https://www.youtube.com/watch?v=5v-wyR5emRw'
#INPUT_URL = 'https://www.youtube.com/watch?v=MmFuWmzeiDs'
#INPUT_URL = 'https://www.youtube.com/watch?v=3obig1XeOlw'
#INPUT_URL = 'https://www.youtube.com/watch?v=Xdzo2dVqNH0'
#INPUT_URL = 'https://www.youtube.com/watch?v=m8ZUvBeKZEY'
#INPUT_URL = 'https://www.youtube.com/watch?v=uiU5GutVms4'
# settings or the code need editting
##INPUT_URL = 'https://www.youtube.com/watch?v=ZTK8XJUXqy8'
##INPUT_URL = 'https://www.youtube.com/watch?v=1mHjMNZZvFo'
##INPUT_URL = 'https://www.youtube.com/watch?v=ZO44B271tfk'
##INPUT_URL= 'https://www.youtube.com/watch?v=z0hrMg1j_d4'
##INPUT_URL= 'https://www.youtube.com/watch?v=aeT3YOYsvMs'
#---
#FILE_NAME
# download everithing into a new folder just add folder_name/file_name
# to avioid errors and extra work make sure that the variables created do not contain special characters or spaces
#-2
# It is recomaneded that the folder in which all the information for each video is created first as some functions produce errors if it does not presxists.
# This generates a random string which will be assigned to the the function which creates a file
random_string_INPUT = str(module_sample_name.passw_gen(MODE=0, LENGTH=3))
# Optional
# You can spcify the exact folder path or name that you would like everithing to be downloaded and storded in simply assing the directory name to random_string_INPUT
# Example
#random_string_INPUT = '/media/username/name_of_storage_device/Folder-name'
#-1
#FOLDER_PATH = str('a')
FOLDER_PATH = module_sample_name.folder_gen(RANDOM_STRING = random_string_INPUT, FILE_PERMISION = '777')
##EDIT_ME##
# avoid special characters appart from _ and remember to add / before the actual name
# Work fine
NNAME = '/Donald Trump suspends US travel from 26 European countries but not the UK to fight coronavirus'
#NNAME = '/Moving to the UK to study Finnish Girls Experience'
#NNAME = '/Tell Me About Yourself - A Good Answer to This Interview Question'
#NNAME = '/CYPRUS the IRELAND of the MEDITERRANEAN VisualPolitik EN'
#NNAME = '/Race to become UK PM Boris Johnson exclusive interview BBC News'
#NNAME = '/Coronavirus V Last Week Tonight with John Oliver'
#NNAME = '/Trump Attacks the WHO Kellyanne Cant Count to COVID 19 The Daily Social Distancing Show'
#NNAME = '/VPNs or Virtual Private Networks as Fast As Possible'
#NNAME = '/John McAfee and the FBI Finally Face Off On CNN CNN Interview'
#NNAME = '/McAfee to CIA You Should Be Ashamed What Were You Thinking' # failed due to youtube-dl
#NNAME = '/John McAfee Im Behind Edward Snowden'
#NNAME = '/Edward Snowden I know how to keep a secret BBC News'
#NNAME = '/Coronavirus: Bill Gates interview '
#NNAME = '/Atlanta mayor Im at a loss by governors decision to reopen' # works simply there are no subtitles for this particular video
#NNAME = '/Tell Me About Yourself A Good Answer To This Interview Question'
#NNAME = '/How to Answer Tell Me About Yourself'
#NNAME = '/Ken Jeong Answers More Medical Questions From Twitter Tech Support WIRED'
#NNAME = '/body hair tips from a ballerina'
#NNAME = '/CompTIA IT Fundamentals FC0-U61 Exam Prep Intro Free Course from ITProTV'
#NNAME = '/How To Pass CompTIA Exams'
# settings or the code need editting
##NNAME = '/FACEBOOK BANS CORONAVIRUS PROTESTS'
##NNAME = '/08 common Interview question and answers Job Interview Skills'
##NNAME = '/Pence on the federal roadmap to restart the economy'
##NNAME = '/Give Donald Trump A Radio Briefings'
##NNAME = '/Trump Blames WHO and Rushes to Open Up America Again A Closer Look'
# remove any spaces if they exists in the path as that may introduce errors. Note_if there are space0 or in the absolute directory path, this might introduce errors.
NNAME = NNAME.replace(' ', '_')
INPUT_FILE_NAME=str(FOLDER_PATH) + NNAME
#0
# get a video meta data
#meta_data = module_youtube_extract.meta_data(URL = INPUT_URL, FILE_NAME = INPUT_FILE_NAME , TXT_CLEAN=True, TXT=True, JSON=True, DOWNLOAD=False)
#1
# get all available downloadble formats
available_formats = module_youtube_extract.list_available_AV_formats(URL = INPUT_URL, CLEAN=True, LIST=True, SAVE=True, FILE_NAME = INPUT_FILE_NAME+'_down_formats')
#2 # require stable internet connection
# download audio visual content. Note it has been observed that when some of codes are used even thought they are specified as pure video codes they also contain embeded audio such as code 22. There for an additional function is needed to remove the audio.
module_youtube_extract.down_audio_video(URL = INPUT_URL, VIDEO_QUALITY_CODE=22, AUDIO_QUALITY_CODE=140 , MERGE=False, FILE_NAME = INPUT_FILE_NAME)
#7
# Convert m4a into wav file
# converts anything with the FORMAT_FROM in the given directory to .wav file
#module_convert_audio_to_wav.dir_conversion_to_wav(FORMAT_FROM='.m4a', DIRECTORY='data/')
# converts simple files OPTINAL
module_convert_audio_to_wav.file_conversion_to_wav(FORMAT_FROM='.m4a', FILE_NAME=INPUT_FILE_NAME, BIT_RATE='192k')
whole_pure_audio_file_name_dir = INPUT_FILE_NAME + '.wav'
#8
#Convert mp4 to mkv format as this elliminates errors in the segmentatio of the videos later on
video_converted_to_mkv = module_video_processing.convert_from_mp4_to_mkv(FILE_NAME=INPUT_FILE_NAME, INPUT_EXTENSION='.mp4', OUTPUT_EXTENSION = '.mkv')
#9 OPTIONAL
# remove the audio from the mp4 file https://unix.stackexchange.com/questions/6402/how-to-remove-an-audio-track-from-an-mp4-video-file
# for single file
module_video_processing.remove_audio_from_file_mp4(FILE_NAME=INPUT_FILE_NAME, EXTENSION = '.mp4')
#10 OPTINAL
#Convert mp4 to mkv format as this elliminates errors in the segmentatio of the videos later on for the none_audio_ video
video_converted_to_mkv_none_audio = module_video_processing.convert_from_mp4_to_mkv(FILE_NAME=INPUT_FILE_NAME+'_none_audio', INPUT_EXTENSION='.mp4', OUTPUT_EXTENSION = '.mkv')
#3
# Checks to see what subtitles are available and in what format (ex. timings are for every word or)
string_subtitle_formats, manual_subtitles_exist, automatic_subtitles_exist = module_youtube_extract.list_available_subtitles(URL = INPUT_URL, FILE_NAME = INPUT_FILE_NAME, TXT_CLEAN=False, TXT=False, JSON=False)
#4
# downlaods the subtitles
man_sub_var, auto_sub_var = module_youtube_extract.down_sub(URL = INPUT_URL, FILE_NAME=INPUT_FILE_NAME+'SUBTITLES', TYPE='vtt', LANGUAGE='en', MAN_SUB = manual_subtitles_exist, AUTO_SUB = automatic_subtitles_exist, SAVE=True)
#5
# Identify what type of subtitles they are, if they contain contain timings per word or per sentence
man_sub_easy_type, auto_sub_easy_type = module_youtube_extract.sub_type(MAN_SUB = man_sub_var, AUTO_SUB = auto_sub_var, MAN_SUB_EXIST = manual_subtitles_exist, AUTO_SUB_EXIST = automatic_subtitles_exist)
#6
# process the subtitles into an easy to read and process lists which will contain the subtitles and the other the timeings they are presented in the video. Note: if timings are alocated per word which is due to the auto sub gen of Youtube, we will not allign our subtitles to the text as that has been already done. This function takes care of all 3 cases as inputs (no subtitles, sub aligned per sentence, sub aligned per word) for auto and man sub()
'''
acpwe #auto_content_per_word_easy
atpwe #auto_time_per_word_easy
mcpwe #man_content_per_word_easy
mtpwe #man_time_per_word_easy
acpse #auto_content_per_sentence_easy
atpse #auto_time_per_sentence_easy
acpsh #auto_content_per_sentence_hard
atpsh #auto_time_per_sentence_hard
mcpse #man_content_per_sentence_easy
mtpse #man_time_per_sentence_easy
mcpsh #man_content_per_sentence_hard
mtpsh #man_time_per_sentence_hard
'''
# takes input values from #5 #4 #3
acpwe, atpwe, acpse, atpse, acpsh, atpsh, mcpwe, mtpwe, mcpse, mtpse, mcpsh, mtpsh = module_process_subtitles.format_sub(MAN_SUB_EXIST = manual_subtitles_exist, AUTO_SUB_EXIST = automatic_subtitles_exist, MAN_SUB_EASY_TYPE = man_sub_easy_type, AUTO_SUB_EASY_TYPE = auto_sub_easy_type, MAN_SUB = man_sub_var, AUTO_SUB = auto_sub_var)
video_converted_to_mkv_none_audio_no_extension = video_converted_to_mkv_none_audio.replace('.mkv','')
video_converted_to_mkv_none_audio_no_extension = list(video_converted_to_mkv_none_audio_no_extension)
##EDIT_ME##
# adjust the following variables
# Controll chopping properties on acpwe, atpwe, acpse, atpse, acpsh, atpsh, mcpwe, mtpwe, mcpse, mtpse, mcpsh, mtpsh for all chopped samples.
# This values are feed into module_video_processing.chop_video_per_word_or_sentence
# in milliseconds
shift_right_or_left_acpwe = 0
shift_right_or_left_mcpwe = 0
shift_right_or_left_acpse = 0
shift_right_or_left_acpsh = 0
shift_right_or_left_mcpse = 0
shift_right_or_left_mcpsh = 0
# in milliseconds extend left
extend_left_acpwe = -150
extend_left_mcpwe = -150
extend_left_acpse = -150
extend_left_acpsh = -150
extend_left_mcpse = -150
extend_left_mcpsh = -150
# in milliseconds extend right
extend_right_acpwe = 150
extend_right_mcpwe = 150
extend_right_acpse = 150
extend_right_acpsh = 150
extend_right_mcpse = 150
extend_right_mcpsh = 150
# start word or sentence index from acpwe, atpwe, acpse, atpse, acpsh, atpsh, mcpwe, mtpwe, mcpse, mtpse, mcpsh, mtpsh
start_index_acpwe = 0
start_index_mcpwe = 0
start_index_acpse = 0
start_index_acpsh = 0
start_index_mcpse = 0
start_index_mcpsh = 0
# stop word or sentence index from acpwe, atpwe, acpse, atpse, acpsh, atpsh, mcpwe, mtpwe, mcpse, mtpse, mcpsh, mtpsh
stop_index_acpwe = 5 # 'END' # Does the whole video
stop_index_mcpwe = 5
stop_index_acpse = 5
stop_index_acpsh = 5
stop_index_mcpse = 5
stop_index_mcpsh = 5
#12
# Fixed and necessary step
# get the maximum time of the video
max_time = module_video_processing.maximum_time_of_vid(ATPSE=atpse, MTPSE=mtpse, AUTO=automatic_subtitles_exist, MAN=manual_subtitles_exist)
if max_time == None:
max_time = module_video_processing.maximum_time_of_vid(ATPSE=atpsh, MTPSE=mtpsh, AUTO=automatic_subtitles_exist, MAN=manual_subtitles_exist)
else:
pass
'''
#12
# Fixed and necessary step
# get the maximum time of the video
max_time = module_video_processing.maximum_time_of_vid(ATPSE=atpse, MTPSE=mtpse, AUTO=True, MAN=False)
if max_time == None:
max_time = module_video_processing.maximum_time_of_vid(ATPSE=atpsh, MTPSE=mtpsh, AUTO=True, MAN=False)
else:
pass
'''
if (acpwe == None or acpwe == [] or atpwe == None or atpwe == []):
word_chunk_samples_info_acpwe = None
chopped_sample_per_word_folder_dir_acpwe = None
chopped_sample_per_word_folder_dir_pure_audio_acpwe = None
chopped_sample_per_word_folder_dir_pure_video_acpwe = None
else:
#7 OPTIONAL
# REMOVE OR ELIMINATE SPECIAL CHARACTERS. CARE MUST BE TAKEN NOT TO INPUT THE TIME VALUES
acpwe = module_process_subtitles.remove_or_replace_special_char(INPUT_SUB_LIST = acpwe, CHAR_TO_REPLACE = 'all', CHAR_TO_REPLACE_WITH = '')
#9
# function to save subtitles in easy to read format
#acpwe
module_save_variables.save_sub(VAR_INPUT=acpwe, FILE_NAME=INPUT_FILE_NAME+'_acpwe', TXT=False, JSON=True, TXT_SEPARATOR = '\n')
#11
# create a folders to store all chopped samples #chopped_sample_per_word_folder_dir
chopped_sample_per_word_folder_dir_acpwe = module_sample_name.folder_gen(RANDOM_STRING = FOLDER_PATH + '/chopped_samples_per_word_acpwe', FILE_PERMISION = '777')
#13
# acpwe and atpwe
# split the video into chunks of each word per video and save them in the chopped_samples_per_word folder #word_chunk_samples_info
word_chunk_samples_info_acpwe = module_video_processing.chop_video_per_word_or_sentence(LIST_PER_WORD = acpwe, TIMES_PER_WORD = atpwe, MAX_TIME = max_time, FILE_NAME = INPUT_FILE_NAME, CHOPPED_SAMPLE_FOLDER_DIR = chopped_sample_per_word_folder_dir_acpwe, SAVE_FILE_NAME = chopped_sample_per_word_folder_dir_acpwe + '/word_chunk_samples_info_acpwe.csv', SHIFT_RIGHT_OR_LEFT = shift_right_or_left_acpwe, EXTEND_LEFT = extend_left_acpwe, EXTEND_RIGHT = extend_right_acpwe, EXTENSION = '.mkv', START_INDEX = start_index_acpwe, STOP_INDEX = stop_index_acpwe, SAVE = True)
#15
# create new folders which will contain only the audio segments, the none-audio video segments and combined audio and video cropped result
# create a folders to store all chopped samples
# chopped_sample_per_word_folder_dir_pure_audio
chopped_sample_per_word_folder_dir_pure_audio_acpwe = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_word_folder_dir_acpwe + '/pure_audio', FILE_PERMISION = '777')
chopped_sample_per_word_folder_dir_pure_video_acpwe = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_word_folder_dir_acpwe + '/pure_video', FILE_PERMISION = '777')
#chopped_sample_per_word_folder_dir_combined_acpwe = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_word_folder_dir_acpwe + '/combined', FILE_PERMISION = '777')
if (mcpwe == None or mcpwe == [] or mtpwe == None or mtpwe == []):
word_chunk_samples_info_mcpwe = None
chopped_sample_per_word_folder_dir_mcpwe = None
chopped_sample_per_word_folder_dir_pure_audio_mcpwe = None
chopped_sample_per_word_folder_dir_pure_video_mcpwe = None
else:
#7 OPTIONAL
# REMOVE OR ELIMINATE SPECIAL CHARACTERS. CARE MUST BE TAKEN NOT TO INPUT THE TIME VALUES
mcpwe = module_process_subtitles.remove_or_replace_special_char(INPUT_SUB_LIST = mcpwe, CHAR_TO_REPLACE = 'all', CHAR_TO_REPLACE_WITH = '')
#9
# function to save subtitles in easy to read format
#mcpwe
module_save_variables.save_sub(VAR_INPUT=mcpwe, FILE_NAME=INPUT_FILE_NAME+'_mcpwe', TXT=False, JSON=True, TXT_SEPARATOR = '\n')
#11
# create a folders to store all chopped samples #chopped_sample_per_word_folder_dir
chopped_sample_per_word_folder_dir_mcpwe = module_sample_name.folder_gen(RANDOM_STRING = FOLDER_PATH + '/chopped_samples_per_word_mcpwe', FILE_PERMISION = '777')
#13
# mcpwe and mtpwe
# split the video into chunks of each word per video and save them in the chopped_samples_per_word folder #word_chunk_samples_info
word_chunk_samples_info_mcpwe = module_video_processing.chop_video_per_word_or_sentence(LIST_PER_WORD = mcpwe, TIMES_PER_WORD = mtpwe, MAX_TIME = max_time, FILE_NAME = INPUT_FILE_NAME, CHOPPED_SAMPLE_FOLDER_DIR = chopped_sample_per_word_folder_dir_mcpwe, SAVE_FILE_NAME = chopped_sample_per_word_folder_dir_mcpwe + '/word_chunk_samples_info_mcpwe.csv', SHIFT_RIGHT_OR_LEFT = shift_right_or_left_mcpwe, EXTEND_LEFT = extend_left_mcpwe, EXTEND_RIGHT = extend_right_mcpwe, EXTENSION = '.mkv', START_INDEX = start_index_mcpwe, STOP_INDEX = stop_index_mcpwe, SAVE = True)
#15
# create new folders which will contain only the audio segments and the none-audio video segments
# create a folders to store all chopped samples
# chopped_sample_per_word_folder_dir_pure_audio
chopped_sample_per_word_folder_dir_pure_audio_mcpwe = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_word_folder_dir_mcpwe + '/pure_audio', FILE_PERMISION = '777')
chopped_sample_per_word_folder_dir_pure_video_mcpwe = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_word_folder_dir_mcpwe + '/pure_video', FILE_PERMISION = '777')
#chopped_sample_per_word_folder_dir_combined_mcpwe = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_word_folder_dir_mcpwe + '/combined', FILE_PERMISION = '777')
if (acpse == None or acpse == [] or atpse == None or atpse == []):
sentence_chunk_samples_info_acpse = None
chopped_sample_per_sentence_folder_dir_acpse = None
chopped_sample_per_sentence_folder_dir_pure_audio_acpse = None
chopped_sample_per_sentence_folder_dir_pure_video_acpse = None
else:
#7 OPTIONAL
# REMOVE OR ELIMINATE SPECIAL CHARACTERS. CARE MUST BE TAKEN NOT TO INPUT THE TIME VALUES
acpse = module_process_subtitles.remove_or_replace_special_char(INPUT_SUB_LIST = acpse, CHAR_TO_REPLACE = 'all', CHAR_TO_REPLACE_WITH = '')
#9
# function to save subtitles in easy to read format
#acpse
module_save_variables.save_sub(VAR_INPUT=acpse, FILE_NAME=INPUT_FILE_NAME+'_acpse', TXT=False, JSON=True, TXT_SEPARATOR = '\n')
#11
# create a folders to store all chopped samples #chopped_sample_per_sentence_folder_dir
chopped_sample_per_sentence_folder_dir_acpse = module_sample_name.folder_gen(RANDOM_STRING = FOLDER_PATH + '/chopped_samples_per_sentence_acpse', FILE_PERMISION = '777')
#13
# acpse and atpse
# split the video into chunks of each word per video and save them in the chopped_samples_per_word folder #sentence_chunk_samples_info
sentence_chunk_samples_info_acpse = module_video_processing.chop_video_per_word_or_sentence(LIST_PER_WORD = acpse, TIMES_PER_WORD = atpse, MAX_TIME = max_time, FILE_NAME = INPUT_FILE_NAME, CHOPPED_SAMPLE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_acpse, SAVE_FILE_NAME = chopped_sample_per_sentence_folder_dir_acpse + '/sentence_chunk_samples_info_acpse.csv', SHIFT_RIGHT_OR_LEFT = shift_right_or_left_acpse, EXTEND_LEFT = extend_left_acpse, EXTEND_RIGHT = extend_right_acpse, EXTENSION = '.mkv', START_INDEX = start_index_acpse, STOP_INDEX = stop_index_acpse, SAVE = True)
#15
# create new folders which will contain only the audio segments and the none-audio video segments
# create a folders to store all chopped samples
# chopped_sample_per_sentence_folder_dir_pure_audio
chopped_sample_per_sentence_folder_dir_pure_audio_acpse = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_acpse + '/pure_audio', FILE_PERMISION = '777')
chopped_sample_per_sentence_folder_dir_pure_video_acpse = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_acpse + '/pure_video', FILE_PERMISION = '777')
#chopped_sample_per_word_folder_dir_combined_acpse = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_acpse + '/combined', FILE_PERMISION = '777')
if (acpsh == None or acpsh == [] or atpsh == None or atpsh == []):
sentence_chunk_samples_info_acpsh = None
chopped_sample_per_sentence_folder_dir_acpsh = None
chopped_sample_per_sentence_folder_dir_pure_audio_acpsh = None
chopped_sample_per_sentence_folder_dir_pure_video_acpsh = None
else:
#7 OPTIONAL
# REMOVE OR ELIMINATE SPECIAL CHARACTERS. CARE MUST BE TAKEN NOT TO INPUT THE TIME VALUES
acpsh = module_process_subtitles.remove_or_replace_special_char(INPUT_SUB_LIST = acpsh, CHAR_TO_REPLACE = 'all', CHAR_TO_REPLACE_WITH = '')
#9
# function to save subtitles in easy to read format
#acpsh
module_save_variables.save_sub(VAR_INPUT=acpsh, FILE_NAME=INPUT_FILE_NAME+'_acpsh', TXT=False, JSON=True, TXT_SEPARATOR = '\n')
#11
# create a folders to store all chopped samples #chopped_sample_per_sentence_folder_dir
chopped_sample_per_sentence_folder_dir_acpsh = module_sample_name.folder_gen(RANDOM_STRING = FOLDER_PATH + '/chopped_samples_per_sentence_acpsh', FILE_PERMISION = '777')
#13
# acpsh and atpsh
# split the video into chunks of each word per video and save them in the chopped_samples_per_word folder #sentence_chunk_samples_info
sentence_chunk_samples_info_acpsh = module_video_processing.chop_video_per_word_or_sentence(LIST_PER_WORD = acpsh, TIMES_PER_WORD = atpsh, MAX_TIME = max_time, FILE_NAME = INPUT_FILE_NAME, CHOPPED_SAMPLE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_acpsh, SAVE_FILE_NAME = chopped_sample_per_sentence_folder_dir_acpsh + '/sentence_chunk_samples_info_acpsh.csv', SHIFT_RIGHT_OR_LEFT = shift_right_or_left_acpsh, EXTEND_LEFT = extend_left_acpsh, EXTEND_RIGHT = extend_right_acpsh, EXTENSION = '.mkv', START_INDEX = start_index_acpsh, STOP_INDEX = stop_index_acpsh, SAVE = True)
#15
# create new folders which will contain only the audio segments and the none-audio video segments
# create a folders to store all chopped samples
# chopped_sample_per_sentence_folder_dir_pure_audio
chopped_sample_per_sentence_folder_dir_pure_audio_acpsh = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_acpsh + '/pure_audio', FILE_PERMISION = '777')
chopped_sample_per_sentence_folder_dir_pure_video_acpsh = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_acpsh + '/pure_video', FILE_PERMISION = '777')
#chopped_sample_per_word_folder_dir_combined_acpsh = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_acpsh + '/combined', FILE_PERMISION = '777')
if (mcpse == None or mcpse == [] or mtpse == None or mtpse == []):
sentence_chunk_samples_info_mcpse = None
chopped_sample_per_sentence_folder_dir_mcpse = None
chopped_sample_per_sentence_folder_dir_pure_audio_mcpse = None
chopped_sample_per_sentence_folder_dir_pure_video_mcpse = None
else:
#7 OPTIONAL
# REMOVE OR ELIMINATE SPECIAL CHARACTERS. CARE MUST BE TAKEN NOT TO INPUT THE TIME VALUES
mcpse = module_process_subtitles.remove_or_replace_special_char(INPUT_SUB_LIST = mcpse, CHAR_TO_REPLACE = 'all', CHAR_TO_REPLACE_WITH = '')
#9
# function to save subtitles in easy to read format
#mcpse
module_save_variables.save_sub(VAR_INPUT=mcpse, FILE_NAME=INPUT_FILE_NAME+'_mcpse', TXT=False, JSON=True, TXT_SEPARATOR = '\n')
#11
# create a folders to store all chopped samples #chopped_sample_per_sentence_folder_dir
chopped_sample_per_sentence_folder_dir_mcpse = module_sample_name.folder_gen(RANDOM_STRING = FOLDER_PATH + '/chopped_samples_per_sentence_mcpse', FILE_PERMISION = '777')
#13
# mcpse and mtpse
# split the video into chunks of each word per video and save them in the chopped_samples_per_word folder #sentence_chunk_samples_info
sentence_chunk_samples_info_mcpse = module_video_processing.chop_video_per_word_or_sentence(LIST_PER_WORD = mcpse, TIMES_PER_WORD = mtpse, MAX_TIME = max_time, FILE_NAME = INPUT_FILE_NAME, CHOPPED_SAMPLE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_mcpse, SAVE_FILE_NAME = chopped_sample_per_sentence_folder_dir_mcpse + '/sentence_chunk_samples_info_mcpse.csv', SHIFT_RIGHT_OR_LEFT = shift_right_or_left_mcpse, EXTEND_LEFT = extend_left_mcpse, EXTEND_RIGHT = extend_right_mcpse, EXTENSION = '.mkv', START_INDEX = start_index_mcpse, STOP_INDEX = stop_index_mcpse, SAVE = True)
#15
# create new folders which will contain only the audio segments and the none-audio video segments
# create a folders to store all chopped samples
# chopped_sample_per_sentence_folder_dir_pure_audio
chopped_sample_per_sentence_folder_dir_pure_audio_mcpse = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_mcpse + '/pure_audio', FILE_PERMISION = '777')
chopped_sample_per_sentence_folder_dir_pure_video_mcpse = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_mcpse + '/pure_video', FILE_PERMISION = '777')
#chopped_sample_per_word_folder_dir_combined_mcpse = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_mcpse + '/combined', FILE_PERMISION = '777')
if (mcpsh == None or mcpsh == [] or mtpsh == None or mtpsh == []):
sentence_chunk_samples_info_mcpsh = None
chopped_sample_per_sentence_folder_dir_mcpsh = None
chopped_sample_per_sentence_folder_dir_pure_audio_mcpsh = None
chopped_sample_per_sentence_folder_dir_pure_video_mcpsh = None
else:
#7 OPTIONAL
# REMOVE OR ELIMINATE SPECIAL CHARACTERS. CARE MUST BE TAKEN NOT TO INPUT THE TIME VALUES
mcpsh = module_process_subtitles.remove_or_replace_special_char(INPUT_SUB_LIST = mcpsh, CHAR_TO_REPLACE = 'all', CHAR_TO_REPLACE_WITH = '')
#9
#mcpsh
module_save_variables.save_sub(VAR_INPUT=mcpsh, FILE_NAME=INPUT_FILE_NAME+'_mcpsh', TXT=False, JSON=True, TXT_SEPARATOR = '\n')
#11
# create a folders to store all chopped samples #chopped_sample_per_sentence_folder_dir
chopped_sample_per_sentence_folder_dir_mcpsh = module_sample_name.folder_gen(RANDOM_STRING = FOLDER_PATH + '/chopped_samples_per_sentence_mcpsh', FILE_PERMISION = '777')
#13
# mcpsh and mtpsh
# split the video into chunks of each word per video and save them in the chopped_samples_per_word folder #sentence_chunk_samples_info
sentence_chunk_samples_info_mcpsh = module_video_processing.chop_video_per_word_or_sentence(LIST_PER_WORD = mcpsh, TIMES_PER_WORD = mtpsh, MAX_TIME = max_time, FILE_NAME = INPUT_FILE_NAME, CHOPPED_SAMPLE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_mcpsh, SAVE_FILE_NAME = chopped_sample_per_sentence_folder_dir_mcpsh + '/sentence_chunk_samples_info_mcpsh.csv', SHIFT_RIGHT_OR_LEFT = shift_right_or_left_mcpsh, EXTEND_LEFT = extend_left_mcpsh, EXTEND_RIGHT = extend_right_mcpsh, EXTENSION = '.mkv', START_INDEX = start_index_mcpsh, STOP_INDEX = stop_index_mcpsh, SAVE = True)
#15
# create new folders which will contain only the audio segments, the none-audio video segments and combined audio and video cropped result
# create a folders to store all chopped samples
# chopped_sample_per_sentence_folder_dir_pure_audio
chopped_sample_per_sentence_folder_dir_pure_audio_mcpsh = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_mcpsh + '/pure_audio', FILE_PERMISION = '777')
chopped_sample_per_sentence_folder_dir_pure_video_mcpsh = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_mcpsh + '/pure_video', FILE_PERMISION = '777')
#chopped_sample_per_word_folder_dir_combined_mcpsh = module_sample_name.folder_gen(RANDOM_STRING = chopped_sample_per_sentence_folder_dir_mcpsh + '/combined', FILE_PERMISION = '777')
#16
# make lists which will contain only the file names of each sample. Process file names
# new var EXAMPLE
LLIST_INPUT_WORD_CHUNK_SAMPLES_ACPWE_FILE_NAMES = module_video_processing.generate_list_input_word_chunk_samples_file_names(WORD_CHUNK_SAMPLES_FILE_NAMES = word_chunk_samples_info_acpwe)
LLIST_INPUT_WORD_CHUNK_SAMPLES_MCPWE_FILE_NAMES = module_video_processing.generate_list_input_word_chunk_samples_file_names(WORD_CHUNK_SAMPLES_FILE_NAMES = word_chunk_samples_info_mcpwe)
# new var EXAMPLE
LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSH_FILE_NAMES = module_video_processing.generate_list_input_sentence_chunk_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_mcpsh)
LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSE_FILE_NAMES = module_video_processing.generate_list_input_sentence_chunk_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_mcpse)
LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSH_FILE_NAMES = module_video_processing.generate_list_input_sentence_chunk_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_acpsh)
LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSE_FILE_NAMES = module_video_processing.generate_list_input_sentence_chunk_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_acpse)
# new var EXAMPLE
LIST_OUTPUT_AUDIO_WORD_CHOPPED_ACPWE_NAMES = module_video_processing.generate_list_output_audio_word_chopped_samples_file_names(WORD_CHUNK_SAMPLES_FILE_NAMES = word_chunk_samples_info_acpwe, CHOPPED_SAMPLE_PER_WORD_FOLDER_DIR = chopped_sample_per_word_folder_dir_acpwe, CHOPPED_SAMPLE_PER_WORD_FOLDER_DIR_PURE_AUDIO = chopped_sample_per_word_folder_dir_pure_audio_acpwe, AUDIO_EXTENSION = '.wav')
LIST_OUTPUT_AUDIO_WORD_CHOPPED_MCPWE_NAMES = module_video_processing.generate_list_output_audio_word_chopped_samples_file_names(WORD_CHUNK_SAMPLES_FILE_NAMES = word_chunk_samples_info_mcpwe, CHOPPED_SAMPLE_PER_WORD_FOLDER_DIR = chopped_sample_per_word_folder_dir_mcpwe, CHOPPED_SAMPLE_PER_WORD_FOLDER_DIR_PURE_AUDIO = chopped_sample_per_word_folder_dir_pure_audio_mcpwe, AUDIO_EXTENSION = '.wav')
# new var EXAMPLE
LIST_OUTPUT_VIDEO_WORD_CHOPPED_ACPWE_NAMES = module_video_processing.generate_list_output_video_word_chopped_samples_file_names(WORD_CHUNK_SAMPLES_FILE_NAMES = word_chunk_samples_info_acpwe , CHOPPED_SAMPLE_PER_WORD_FOLDER_DIR = chopped_sample_per_word_folder_dir_acpwe, CHOPPED_SAMPLE_PER_WORD_FOLDER_DIR_PURE_VIDEO = chopped_sample_per_word_folder_dir_pure_video_acpwe, VIDEO_EXTENSION = '.mkv')
LIST_OUTPUT_VIDEO_WORD_CHOPPED_MCPWE_NAMES = module_video_processing.generate_list_output_video_word_chopped_samples_file_names(WORD_CHUNK_SAMPLES_FILE_NAMES = word_chunk_samples_info_mcpwe , CHOPPED_SAMPLE_PER_WORD_FOLDER_DIR = chopped_sample_per_word_folder_dir_mcpwe, CHOPPED_SAMPLE_PER_WORD_FOLDER_DIR_PURE_VIDEO = chopped_sample_per_word_folder_dir_pure_video_mcpwe, VIDEO_EXTENSION = '.mkv')
# new var EXAMPLE
LIST_OUTPUT_AUDIO_SENTENCE_MCPSH_CHOPPED_NAMES = module_video_processing.generate_list_output_audio_sentence_chopped_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_mcpsh, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_mcpsh, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR_PURE_AUDIO = chopped_sample_per_sentence_folder_dir_pure_audio_mcpsh, AUDIO_EXTENSION = '.wav')
LIST_OUTPUT_AUDIO_SENTENCE_MCPSE_CHOPPED_NAMES = module_video_processing.generate_list_output_audio_sentence_chopped_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_mcpse, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_mcpse, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR_PURE_AUDIO = chopped_sample_per_sentence_folder_dir_pure_audio_mcpse, AUDIO_EXTENSION = '.wav')
LIST_OUTPUT_AUDIO_SENTENCE_ACPSH_CHOPPED_NAMES = module_video_processing.generate_list_output_audio_sentence_chopped_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_acpsh, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_acpsh, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR_PURE_AUDIO = chopped_sample_per_sentence_folder_dir_pure_audio_acpsh, AUDIO_EXTENSION = '.wav')
LIST_OUTPUT_AUDIO_SENTENCE_ACPSE_CHOPPED_NAMES = module_video_processing.generate_list_output_audio_sentence_chopped_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_acpse, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_acpse, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR_PURE_AUDIO = chopped_sample_per_sentence_folder_dir_pure_audio_acpse, AUDIO_EXTENSION = '.wav')
# new var EXAMPLE
LIST_OUTPUT_VIDEO_SENTENCE_MCPSH_CHOPPED_NAMES = module_video_processing.generate_list_output_video_sentence_chopped_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_mcpsh, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_mcpsh, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR_PURE_VIDEO = chopped_sample_per_sentence_folder_dir_pure_video_mcpsh, VIDEO_EXTENSION = '.mkv')
LIST_OUTPUT_VIDEO_SENTENCE_ACPSE_CHOPPED_NAMES = module_video_processing.generate_list_output_video_sentence_chopped_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_acpse, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_acpse, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR_PURE_VIDEO = chopped_sample_per_sentence_folder_dir_pure_video_acpse, VIDEO_EXTENSION = '.mkv')
LIST_OUTPUT_VIDEO_SENTENCE_ACPSH_CHOPPED_NAMES = module_video_processing.generate_list_output_video_sentence_chopped_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_acpsh, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_acpsh, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR_PURE_VIDEO = chopped_sample_per_sentence_folder_dir_pure_video_acpsh, VIDEO_EXTENSION = '.mkv')
LIST_OUTPUT_VIDEO_SENTENCE_MCPSE_CHOPPED_NAMES = module_video_processing.generate_list_output_video_sentence_chopped_samples_file_names(SENTENCE_CHUNK_SAMPLES_FILE_NAMES = sentence_chunk_samples_info_mcpse, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR = chopped_sample_per_sentence_folder_dir_mcpse, CHOPPED_SAMPLE_PER_SENTENCE_FOLDER_DIR_PURE_VIDEO = chopped_sample_per_sentence_folder_dir_pure_video_mcpse, VIDEO_EXTENSION = '.mkv')
#17
# extract the audio from the chopped samples and recreate new files which will contain only the audio and save them in the folders pure_audio
# for single file
# module_video_processing.extract_audio_from_single_mkv_files(INPUT_FILE_NAME, OUTPUT_FILE_NAME, BIT_RATE = '192000')
# for multiple files per word
module_video_processing.extract_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_WORD_CHUNK_SAMPLES_ACPWE_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_AUDIO_WORD_CHOPPED_ACPWE_NAMES, BIT_RATE = '192000')
module_video_processing.extract_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_WORD_CHUNK_SAMPLES_MCPWE_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_AUDIO_WORD_CHOPPED_MCPWE_NAMES, BIT_RATE = '192000')
# for multiple files per sentence
module_video_processing.extract_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSH_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_AUDIO_SENTENCE_MCPSH_CHOPPED_NAMES, BIT_RATE = '192000')
module_video_processing.extract_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSE_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_AUDIO_SENTENCE_MCPSE_CHOPPED_NAMES, BIT_RATE = '192000')
module_video_processing.extract_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSH_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_AUDIO_SENTENCE_ACPSH_CHOPPED_NAMES, BIT_RATE = '192000')
module_video_processing.extract_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSE_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_AUDIO_SENTENCE_ACPSE_CHOPPED_NAMES, BIT_RATE = '192000')
#18
# remove copy the chopped samples but withought the audio and save them pure_video folders
# for single file
#module_video_processing.remove_audio_from_mkv_file(INPUT_FILE_NAME, OUTPUT_FILE_NAME)
# for multiple files per word
#module_video_processing.remove_audio_from_list_mkv_files(INPUT_FILE_NAME = list_input_word_chunk_samples_file_names, OUTPUT_FILE_NAME = list_output_video_word_chopped_names)
module_video_processing.remove_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_WORD_CHUNK_SAMPLES_ACPWE_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_WORD_CHOPPED_ACPWE_NAMES)
module_video_processing.remove_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_WORD_CHUNK_SAMPLES_MCPWE_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_WORD_CHOPPED_MCPWE_NAMES)
# for multiple files per sentence
#module_video_processing.remove_audio_from_list_mkv_files(INPUT_FILE_NAME = list_input_sentence_chunk_samples_file_names, OUTPUT_FILE_NAME = list_output_video_sentence_chopped_names)
module_video_processing.remove_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSH_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_MCPSH_CHOPPED_NAMES)
module_video_processing.remove_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSE_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_MCPSE_CHOPPED_NAMES)
module_video_processing.remove_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSH_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_ACPSH_CHOPPED_NAMES)
module_video_processing.remove_audio_from_list_mkv_files(INPUT_FILE_NAME = LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSE_FILE_NAMES, OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_ACPSE_CHOPPED_NAMES)
#19
# Apply face recognition and chopping for both. Fourcc M J P G is (FOURCC1='M', FOURCC2='J', FOURCC3='P',FOURCC4 ='G') one form of compression. An uncompressed video so that it saves each frame is RGBA, FOURCC1='R', FOURCC2='G', FOURCC3='B',FOURCC4 ='A' which is a loss less codec however that creates massive files
#0, for flipping the image around the x-axis (vertical flipping);
#> 0 for flipping around the y-axis (horizontal flipping);
#< 0 for flipping around both axe FLIP == True, FLIP_ARGUMENT =1
#acpwe
pure_video_cropped_word_chunk_samples_info_acpwe = module_face_detection.multiple_file_camera_face_rec_and_cropping(LIST_OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_WORD_CHOPPED_ACPWE_NAMES, LIST_OF_INPUT_FILE_NAME = LIST_OUTPUT_VIDEO_WORD_CHOPPED_ACPWE_NAMES, FOURCC1='M', FOURCC2='J', FOURCC3='P',FOURCC4 ='G', ADD_STR_CROPPED_FILE_NAME = '_cropped', INPUT_FILE_NAME_EXTENSION = '.mkv', OUPUT_FILE_NAME_EXTENSION = '.avi', CROPPED_WIDTH = 110, CROPPED_HEIGHT = 105, SHIFT_RIGHT = -50, SHIFT_DOWN = 0, OUTPUT_FPS = 'same', ENABLE_FACE_RECOGNITION_TRACKING_CROPING = True, WHOLE_FACE_PROFILE = False, LIPS_PROFILE = False, LOAD_FACE_LANDMARKS = True, POINT_LAND_MARK_TRACKING = False, LAND_MARK_TRACKING_NUMBER = 1, LAND_MARK_LIP_TRACKING = True, CAPTURE_FACE_LANDMARKS = True, DISPLAY_FACE_LANDMARKS = False, SAVE_LANDMARK_TRACKING_RESULTS = False, SAVE_LANDMARK_TRACKING_RESULTS_NAME = 'Record', SAVE_WHOLE = False, SAVE_CROPPED = True, DISPLAY_WHOLE = False, DISPLAY_CROPPED = False, FUTURE_KILL_SWITCH = False, ENABLE_CUBIC_LAND_MARK_TRACKING = False, CUBIC_LAND_MARK_POINT_TOP = 34,CUBIC_LAND_MARK_POINT_LEFT = 49, CUBIC_LAND_MARK_POINT_BOTTOM = 9, CUBIC_LAND_MARK_POINT_RIGHT = 55, FLIP = True, FLIP_ARGUMENT = 1, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_START = 48, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_STOP = 68)
#mcpwe
pure_video_cropped_word_chunk_samples_info_mcpwe = module_face_detection.multiple_file_camera_face_rec_and_cropping(LIST_OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_WORD_CHOPPED_MCPWE_NAMES, LIST_OF_INPUT_FILE_NAME = LIST_OUTPUT_VIDEO_WORD_CHOPPED_MCPWE_NAMES, FOURCC1='M', FOURCC2='J', FOURCC3='P',FOURCC4 ='G', ADD_STR_CROPPED_FILE_NAME = '_cropped', INPUT_FILE_NAME_EXTENSION = '.mkv', OUPUT_FILE_NAME_EXTENSION = '.avi', CROPPED_WIDTH = 110, CROPPED_HEIGHT = 105, SHIFT_RIGHT = -50, SHIFT_DOWN = 0, OUTPUT_FPS = 'same', ENABLE_FACE_RECOGNITION_TRACKING_CROPING = True, WHOLE_FACE_PROFILE = False, LIPS_PROFILE = False, LOAD_FACE_LANDMARKS = True, POINT_LAND_MARK_TRACKING = False, LAND_MARK_TRACKING_NUMBER = 1, LAND_MARK_LIP_TRACKING = True, CAPTURE_FACE_LANDMARKS = True, DISPLAY_FACE_LANDMARKS = False, SAVE_LANDMARK_TRACKING_RESULTS = False, SAVE_LANDMARK_TRACKING_RESULTS_NAME = 'Record', SAVE_WHOLE = False, SAVE_CROPPED = True, DISPLAY_WHOLE = False, DISPLAY_CROPPED = False, FUTURE_KILL_SWITCH = False, ENABLE_CUBIC_LAND_MARK_TRACKING = False, CUBIC_LAND_MARK_POINT_TOP = 34,CUBIC_LAND_MARK_POINT_LEFT = 49, CUBIC_LAND_MARK_POINT_BOTTOM = 9, CUBIC_LAND_MARK_POINT_RIGHT = 55, FLIP = True, FLIP_ARGUMENT = 1, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_START = 48, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_STOP = 68)
# mcpsh
pure_video_cropped_sentence_chunk_samples_info_mcpsh = module_face_detection.multiple_file_camera_face_rec_and_cropping(LIST_OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_MCPSH_CHOPPED_NAMES, LIST_OF_INPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_MCPSH_CHOPPED_NAMES, FOURCC1='M', FOURCC2='J', FOURCC3='P',FOURCC4 ='G', ADD_STR_CROPPED_FILE_NAME = '_cropped', INPUT_FILE_NAME_EXTENSION = '.mkv', OUPUT_FILE_NAME_EXTENSION = '.avi', CROPPED_WIDTH = 110, CROPPED_HEIGHT = 105, SHIFT_RIGHT = -50, SHIFT_DOWN = 0, OUTPUT_FPS = 'same', ENABLE_FACE_RECOGNITION_TRACKING_CROPING = True, WHOLE_FACE_PROFILE = False, LIPS_PROFILE = False, LOAD_FACE_LANDMARKS = True, POINT_LAND_MARK_TRACKING = False, LAND_MARK_TRACKING_NUMBER = 1, LAND_MARK_LIP_TRACKING = True, CAPTURE_FACE_LANDMARKS = True, DISPLAY_FACE_LANDMARKS = False, SAVE_LANDMARK_TRACKING_RESULTS = False, SAVE_LANDMARK_TRACKING_RESULTS_NAME = 'Record', SAVE_WHOLE = False, SAVE_CROPPED = True, DISPLAY_WHOLE = False, DISPLAY_CROPPED = False, FUTURE_KILL_SWITCH = False, ENABLE_CUBIC_LAND_MARK_TRACKING = False, CUBIC_LAND_MARK_POINT_TOP = 34,CUBIC_LAND_MARK_POINT_LEFT = 49, CUBIC_LAND_MARK_POINT_BOTTOM = 9, CUBIC_LAND_MARK_POINT_RIGHT = 55, FLIP = True, FLIP_ARGUMENT = 1, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_START = 48, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_STOP = 68)
#acpse
pure_video_cropped_sentence_chunk_samples_info_acpse = module_face_detection.multiple_file_camera_face_rec_and_cropping(LIST_OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_ACPSE_CHOPPED_NAMES, LIST_OF_INPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_ACPSE_CHOPPED_NAMES, FOURCC1='M', FOURCC2='J', FOURCC3='P',FOURCC4 ='G', ADD_STR_CROPPED_FILE_NAME = '_cropped', INPUT_FILE_NAME_EXTENSION = '.mkv', OUPUT_FILE_NAME_EXTENSION = '.avi', CROPPED_WIDTH = 110, CROPPED_HEIGHT = 105, SHIFT_RIGHT = -50, SHIFT_DOWN = 0, OUTPUT_FPS = 'same', ENABLE_FACE_RECOGNITION_TRACKING_CROPING = True, WHOLE_FACE_PROFILE = False, LIPS_PROFILE = False, LOAD_FACE_LANDMARKS = True, POINT_LAND_MARK_TRACKING = False, LAND_MARK_TRACKING_NUMBER = 1, LAND_MARK_LIP_TRACKING = True, CAPTURE_FACE_LANDMARKS = True, DISPLAY_FACE_LANDMARKS = False, SAVE_LANDMARK_TRACKING_RESULTS = False, SAVE_LANDMARK_TRACKING_RESULTS_NAME = 'Record', SAVE_WHOLE = False, SAVE_CROPPED = True, DISPLAY_WHOLE = False, DISPLAY_CROPPED = False, FUTURE_KILL_SWITCH = False, ENABLE_CUBIC_LAND_MARK_TRACKING = False, CUBIC_LAND_MARK_POINT_TOP = 34,CUBIC_LAND_MARK_POINT_LEFT = 49, CUBIC_LAND_MARK_POINT_BOTTOM = 9, CUBIC_LAND_MARK_POINT_RIGHT = 55, FLIP = True, FLIP_ARGUMENT = 1, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_START = 48, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_STOP = 68)
#acpsh
pure_video_cropped_sentence_chunk_samples_info_acpsh = module_face_detection.multiple_file_camera_face_rec_and_cropping(LIST_OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_ACPSH_CHOPPED_NAMES, LIST_OF_INPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_ACPSH_CHOPPED_NAMES, FOURCC1='M', FOURCC2='J', FOURCC3='P',FOURCC4 ='G', ADD_STR_CROPPED_FILE_NAME = '_cropped', INPUT_FILE_NAME_EXTENSION = '.mkv', OUPUT_FILE_NAME_EXTENSION = '.avi', CROPPED_WIDTH = 110, CROPPED_HEIGHT = 105, SHIFT_RIGHT = -50, SHIFT_DOWN = 0, OUTPUT_FPS = 'same', ENABLE_FACE_RECOGNITION_TRACKING_CROPING = True, WHOLE_FACE_PROFILE = False, LIPS_PROFILE = False, LOAD_FACE_LANDMARKS = True, POINT_LAND_MARK_TRACKING = False, LAND_MARK_TRACKING_NUMBER = 1, LAND_MARK_LIP_TRACKING = True, CAPTURE_FACE_LANDMARKS = True, DISPLAY_FACE_LANDMARKS = False, SAVE_LANDMARK_TRACKING_RESULTS = False, SAVE_LANDMARK_TRACKING_RESULTS_NAME = 'Record', SAVE_WHOLE = False, SAVE_CROPPED = True, DISPLAY_WHOLE = False, DISPLAY_CROPPED = False, FUTURE_KILL_SWITCH = False, ENABLE_CUBIC_LAND_MARK_TRACKING = False, CUBIC_LAND_MARK_POINT_TOP = 34,CUBIC_LAND_MARK_POINT_LEFT = 49, CUBIC_LAND_MARK_POINT_BOTTOM = 9, CUBIC_LAND_MARK_POINT_RIGHT = 55, FLIP = True, FLIP_ARGUMENT = 1, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_START = 48, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_STOP = 68)
# mcpse
pure_video_cropped_sentence_chunk_samples_info_mcpse = module_face_detection.multiple_file_camera_face_rec_and_cropping(LIST_OUTPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_MCPSE_CHOPPED_NAMES, LIST_OF_INPUT_FILE_NAME = LIST_OUTPUT_VIDEO_SENTENCE_MCPSE_CHOPPED_NAMES, FOURCC1='M', FOURCC2='J', FOURCC3='P',FOURCC4 ='G', ADD_STR_CROPPED_FILE_NAME = '_cropped', INPUT_FILE_NAME_EXTENSION = '.mkv', OUPUT_FILE_NAME_EXTENSION = '.avi', CROPPED_WIDTH = 110, CROPPED_HEIGHT = 105, SHIFT_RIGHT = -50, SHIFT_DOWN = 0, OUTPUT_FPS = 'same', ENABLE_FACE_RECOGNITION_TRACKING_CROPING = True, WHOLE_FACE_PROFILE = False, LIPS_PROFILE = False, LOAD_FACE_LANDMARKS = True, POINT_LAND_MARK_TRACKING = False, LAND_MARK_TRACKING_NUMBER = 1, LAND_MARK_LIP_TRACKING = True, CAPTURE_FACE_LANDMARKS = True, DISPLAY_FACE_LANDMARKS = False, SAVE_LANDMARK_TRACKING_RESULTS = False, SAVE_LANDMARK_TRACKING_RESULTS_NAME = 'Record', SAVE_WHOLE = False, SAVE_CROPPED = True, DISPLAY_WHOLE = False, DISPLAY_CROPPED = False, FUTURE_KILL_SWITCH = False, ENABLE_CUBIC_LAND_MARK_TRACKING = False, CUBIC_LAND_MARK_POINT_TOP = 34,CUBIC_LAND_MARK_POINT_LEFT = 49, CUBIC_LAND_MARK_POINT_BOTTOM = 9, CUBIC_LAND_MARK_POINT_RIGHT = 55, FLIP = True, FLIP_ARGUMENT = 1, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_START = 48, SHAPE_PREDICTOR_NUMBER_OF_LANDMARK_POINT_STOP = 68)
'''
# example of how to load a json file
# import json
# # load jason file example
# filename = '/absolute directory.json'
# with open(filename, 'r') as f:
# atpse = json.load(f)
'''
# pure video chunked and cropped
pure_video_cropped_word_chunk_samples_file_dir_acpwe = pure_video_cropped_word_chunk_samples_info_acpwe['LIST_CROPPED_VIDEO_FILENAME']
pure_video_cropped_word_chunk_samples_file_dir_mcpwe = pure_video_cropped_word_chunk_samples_info_mcpwe['LIST_CROPPED_VIDEO_FILENAME']
pure_video_cropped_sentence_chunk_samples_file_dir_acpse = pure_video_cropped_sentence_chunk_samples_info_acpse['LIST_CROPPED_VIDEO_FILENAME']
pure_video_cropped_sentence_chunk_samples_file_dir_acpsh = pure_video_cropped_sentence_chunk_samples_info_acpsh['LIST_CROPPED_VIDEO_FILENAME']
pure_video_cropped_sentence_chunk_samples_file_dir_mcpse = pure_video_cropped_sentence_chunk_samples_info_mcpse['LIST_CROPPED_VIDEO_FILENAME']
pure_video_cropped_sentence_chunk_samples_file_dir_mcpsh = pure_video_cropped_sentence_chunk_samples_info_mcpsh['LIST_CROPPED_VIDEO_FILENAME']
whole_files_name_dir = {'video_converted_to_mkv' : video_converted_to_mkv, 'video_converted_to_mkv_none_audio' : video_converted_to_mkv_none_audio, 'whole_pure_audio_file_name_dir' : whole_pure_audio_file_name_dir}
chopped_files_name_dir = {'LLIST_INPUT_WORD_CHUNK_SAMPLES_ACPWE_FILE_NAMES' : LLIST_INPUT_WORD_CHUNK_SAMPLES_ACPWE_FILE_NAMES
, 'LLIST_INPUT_WORD_CHUNK_SAMPLES_MCPWE_FILE_NAMES' : LLIST_INPUT_WORD_CHUNK_SAMPLES_MCPWE_FILE_NAMES, 'LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSH_FILE_NAMES' : LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSH_FILE_NAMES, 'LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSE_FILE_NAMES' : LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_MCPSE_FILE_NAMES, 'LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSH_FILE_NAMES' : LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSH_FILE_NAMES, 'LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSE_FILE_NAMES' : LLIST_INPUT_SENTENCE_CHUNK_SAMPLES_ACPSE_FILE_NAMES}
chopped_pure_audio_files_name_dir = {'LIST_OUTPUT_AUDIO_WORD_CHOPPED_ACPWE_NAMES' : LIST_OUTPUT_AUDIO_WORD_CHOPPED_ACPWE_NAMES, 'LIST_OUTPUT_AUDIO_WORD_CHOPPED_MCPWE_NAMES' : LIST_OUTPUT_AUDIO_WORD_CHOPPED_MCPWE_NAMES, 'LIST_OUTPUT_AUDIO_SENTENCE_MCPSH_CHOPPED_NAMES' : LIST_OUTPUT_AUDIO_SENTENCE_MCPSH_CHOPPED_NAMES, 'LIST_OUTPUT_AUDIO_SENTENCE_MCPSE_CHOPPED_NAMES' : LIST_OUTPUT_AUDIO_SENTENCE_MCPSE_CHOPPED_NAMES, 'LIST_OUTPUT_AUDIO_SENTENCE_ACPSH_CHOPPED_NAMES' : LIST_OUTPUT_AUDIO_SENTENCE_ACPSH_CHOPPED_NAMES, 'LIST_OUTPUT_AUDIO_SENTENCE_ACPSE_CHOPPED_NAMES' : LIST_OUTPUT_AUDIO_SENTENCE_ACPSE_CHOPPED_NAMES}
chopped_pure_video_files_name_dir = {'LIST_OUTPUT_VIDEO_WORD_CHOPPED_ACPWE_NAMES' : LIST_OUTPUT_VIDEO_WORD_CHOPPED_ACPWE_NAMES
, 'LIST_OUTPUT_VIDEO_WORD_CHOPPED_MCPWE_NAMES' : LIST_OUTPUT_VIDEO_WORD_CHOPPED_MCPWE_NAMES, 'LIST_OUTPUT_VIDEO_SENTENCE_MCPSH_CHOPPED_NAMES' : LIST_OUTPUT_VIDEO_SENTENCE_MCPSH_CHOPPED_NAMES, 'LIST_OUTPUT_VIDEO_SENTENCE_MCPSE_CHOPPED_NAMES' : LIST_OUTPUT_VIDEO_SENTENCE_MCPSE_CHOPPED_NAMES, 'LIST_OUTPUT_VIDEO_SENTENCE_ACPSH_CHOPPED_NAMES' : LIST_OUTPUT_VIDEO_SENTENCE_ACPSH_CHOPPED_NAMES, 'LIST_OUTPUT_VIDEO_SENTENCE_ACPSE_CHOPPED_NAMES' : LIST_OUTPUT_VIDEO_SENTENCE_ACPSE_CHOPPED_NAMES}
chopped_cropped_pure_video_files_name_dir = {'pure_video_cropped_word_chunk_samples_file_dir_acpwe' : pure_video_cropped_word_chunk_samples_file_dir_acpwe
, 'pure_video_cropped_word_chunk_samples_file_dir_mcpwe' : pure_video_cropped_word_chunk_samples_file_dir_mcpwe, 'pure_video_cropped_sentence_chunk_samples_file_dir_mcpsh' : pure_video_cropped_sentence_chunk_samples_file_dir_mcpsh, 'pure_video_cropped_sentence_chunk_samples_file_dir_mcpse' : pure_video_cropped_sentence_chunk_samples_file_dir_mcpse, 'pure_video_cropped_sentence_chunk_samples_file_dir_acpsh' : pure_video_cropped_sentence_chunk_samples_file_dir_acpsh, 'pure_video_cropped_sentence_chunk_samples_file_dir_acpse' : pure_video_cropped_sentence_chunk_samples_file_dir_acpse}
dir_name_dictionary = {'whole_files_name_dir' : whole_files_name_dir, 'chopped_files_name_dir' : chopped_files_name_dir, 'chopped_pure_audio_files_name_dir' : chopped_pure_audio_files_name_dir, 'chopped_pure_video_files_name_dir' : chopped_pure_video_files_name_dir, 'chopped_cropped_pure_video_files_name_dir' : chopped_cropped_pure_video_files_name_dir}
variable_names_dataframe = pd.DataFrame(dir_name_dictionary)
# add a keu
# if 'c' not in d.keys():
# d['c'] = 300
# list input video file names
list_chopped_cropped_pure_video_files_name =list(chopped_cropped_pure_video_files_name_dir.values())
# list input audio file names
list_chopped_pure_audio_files_name = list(chopped_pure_audio_files_name_dir.values())
#13
# use the fps value and the land mark points to map and hence create time signals for the change of each point in the x and y axis from
cropped_chunk_info_list = [pure_video_cropped_word_chunk_samples_info_acpwe, pure_video_cropped_word_chunk_samples_info_mcpwe, pure_video_cropped_sentence_chunk_samples_info_acpse, pure_video_cropped_sentence_chunk_samples_info_acpsh, pure_video_cropped_sentence_chunk_samples_info_mcpse, pure_video_cropped_sentence_chunk_samples_info_mcpsh]
# add the time between frames in seconds. Thuse be able to create a time signal
for i in range(len(cropped_chunk_info_list)):
OUR_SAMPLE = cropped_chunk_info_list[i]
FPS_LIST = OUR_SAMPLE.get('LIST_OF_INPUT_VIDEO_FPS')
TIME_BETWEEN_FRAMES = []
for k in range(len(FPS_LIST)):
FPS_PER_SAMPLE = FPS_LIST[k]
if FPS_PER_SAMPLE == 0:
TIME_BETWEEN_FRAMES_PER_SAMPLE = 0
else:
TIME_BETWEEN_FRAMES_PER_SAMPLE = float(1/FPS_PER_SAMPLE)
TIME_BETWEEN_FRAMES.append(TIME_BETWEEN_FRAMES_PER_SAMPLE)
OUR_SAMPLE['TIME_BETWEEN_FRAMES_IN_SECONDS'] = TIME_BETWEEN_FRAMES
cropped_chunk_info_dict = {'acpwe' : cropped_chunk_info_list[0], 'mcpwe': cropped_chunk_info_list[1], 'acpse':cropped_chunk_info_list[2], 'acpsh':cropped_chunk_info_list[3], 'mcpse':cropped_chunk_info_list[4], 'mcpsh':cropped_chunk_info_list[5]}
cropped_chunk_info_list = list(cropped_chunk_info_dict.values())
# if we would like to perform this on downloaded videos. Then
FPS = 'TIME_BETWEEN_FRAMES_IN_SECONDS'
# if we would like to perform this on recorded videos. Then
#FPS = 'LIST_OF_MEASURED_FPS'
for i in range(len(cropped_chunk_info_list)):
cropped_chunk_info_list_value = cropped_chunk_info_list[i]
GET_LIST_OF_TIME_BETWEEN_FRAMES_IN_SECONDS = cropped_chunk_info_list_value.get(FPS)
GET_LIST_OF_LAND_MARK_RESULTS = cropped_chunk_info_list_value.get('LIST_OF_LAND_MARK_RESULTS')
for k in range(len(GET_LIST_OF_LAND_MARK_RESULTS)):
TIME_BETWEEN_FRAMES_IN_SECONDS_VALUE = GET_LIST_OF_TIME_BETWEEN_FRAMES_IN_SECONDS[k]
LANDMARK_DATAFRAME_VALUE = GET_LIST_OF_LAND_MARK_RESULTS[k]
LANDMARK_DATAFRAME_array = LANDMARK_DATAFRAME_VALUE.get('X-Y Land Mark Coordinates')
LENGTH_OF_LANDMARK_DATAFRAME_array = len(LANDMARK_DATAFRAME_array)
LAND_MARK_TIME_LENGTH_ARRAY = [None]*LENGTH_OF_LANDMARK_DATAFRAME_array
TIME_VALUE_IN_SECONDS = 0
for z in range(LENGTH_OF_LANDMARK_DATAFRAME_array):
LAND_MARK_TIME_LENGTH_ARRAY[z] = float(TIME_VALUE_IN_SECONDS)
TIME_VALUE_IN_SECONDS = TIME_VALUE_IN_SECONDS + TIME_BETWEEN_FRAMES_IN_SECONDS_VALUE
# Add the length values
LANDMARK_DATAFRAME_VALUE['LAND_MARK_TIME_LENGTH_ARRAY'] = LAND_MARK_TIME_LENGTH_ARRAY
#pure_video_cropped_word_chunk_samples_info_acpwe.get('LIST_OF_INPUT_VIDEO_FPS')
#cropped_chunk_info_list_value['Start Times'] =
cropped_chunk_info_dict = {'acpwe' : cropped_chunk_info_list[0], 'mcpwe': cropped_chunk_info_list[1], 'acpse':cropped_chunk_info_list[2], 'acpsh':cropped_chunk_info_list[3], 'mcpse':cropped_chunk_info_list[4], 'mcpsh':cropped_chunk_info_list[5]}
# save results
# Note at the moment there is some information lost in the saved file as we a saving a dict variable which consists of multiple other lists and dataframes
module_save_variables.save_pandas_dict_results(VAR_INPUT = cropped_chunk_info_dict, FILE_NAME = FOLDER_PATH + '/cropped_chunks_info_dict', CSV=True, TXT=True)
# Potentialy the user may descide to chop the whole video and delete all samples which fall bellow the stated threashold of LIST_RATIO_OF_DETECTED_FACES_PER_FRAME
#12 add the functionality which automaticaly deletes any video which there isn't a face detected in less than 90% of the frames
# delet unecessary variables
del extend_left_acpse
del extend_left_acpsh
del extend_left_acpwe
del extend_left_mcpse
del extend_left_mcpsh
del extend_left_mcpwe
del extend_right_acpse
del extend_right_acpsh
del extend_right_acpwe
del extend_right_mcpse
del extend_right_mcpsh
del extend_right_mcpwe
del i
del k
del z
del shift_right_or_left_acpse
del shift_right_or_left_acpsh
del shift_right_or_left_acpwe
del shift_right_or_left_mcpse
del shift_right_or_left_mcpsh
del shift_right_or_left_mcpwe
del start_index_acpse
del start_index_acpsh
del start_index_acpwe
del start_index_mcpse
del start_index_mcpsh
del start_index_mcpwe
del stop_index_acpse
del stop_index_acpsh
del stop_index_acpwe
del stop_index_mcpse
del stop_index_mcpsh
del stop_index_mcpwe
del LANDMARK_DATAFRAME_array
del LENGTH_OF_LANDMARK_DATAFRAME_array
### END ###
| 70.80799 | 1,331 | 0.834804 | 8,425 | 54,947 | 4.922137 | 0.078338 | 0.043261 | 0.05093 | 0.048615 | 0.782633 | 0.738576 | 0.711592 | 0.692469 | 0.637223 | 0.586944 | 0 | 0.010831 | 0.102717 | 54,947 | 775 | 1,332 | 70.899355 | 0.830274 | 0.257266 | 0 | 0.046693 | 0 | 0 | 0.07537 | 0.053583 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.007782 | 0.035019 | 0 | 0.035019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
636d48cb9b81c8aa18e1903f64ee3f997f6ae04e | 155 | py | Python | agendamentos/apps.py | afnmachado/univesp_pi_1 | e6f2b545faaf53d14d17f751d2fb32e6618885b7 | [
"MIT"
] | null | null | null | agendamentos/apps.py | afnmachado/univesp_pi_1 | e6f2b545faaf53d14d17f751d2fb32e6618885b7 | [
"MIT"
] | null | null | null | agendamentos/apps.py | afnmachado/univesp_pi_1 | e6f2b545faaf53d14d17f751d2fb32e6618885b7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AgendamentoConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'agendamentos'
| 22.142857 | 56 | 0.774194 | 17 | 155 | 6.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141935 | 155 | 6 | 57 | 25.833333 | 0.887218 | 0 | 0 | 0 | 0 | 0 | 0.264516 | 0.187097 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
636f4efb035fdaa64cb9b8922b6256a38b910e41 | 9,570 | py | Python | data/fech_data.py | wangjiehui11235/panther | cf1ca2f0c7107c5cdacf2f7ff4002d43427d9b07 | [
"Apache-2.0"
] | 3 | 2020-01-23T22:23:08.000Z | 2020-10-12T20:02:16.000Z | data/fech_data.py | wangjiehui11235/panther | cf1ca2f0c7107c5cdacf2f7ff4002d43427d9b07 | [
"Apache-2.0"
] | 1 | 2019-10-28T05:53:08.000Z | 2019-10-28T05:53:08.000Z | data/fech_data.py | wangjiehui11235/panther | cf1ca2f0c7107c5cdacf2f7ff4002d43427d9b07 | [
"Apache-2.0"
] | 9 | 2019-08-21T07:48:32.000Z | 2020-04-04T09:17:54.000Z | # -*- coding: utf-8 -*-
import pdb, six, importlib
import pandas as pd
from PyFin.api import makeSchedule, BizDayConventions
from sqlalchemy import create_engine, select, and_, or_
from utilities.singleton import Singleton
import sys
sys.path.append('..')
import config
# 连接句柄
@six.add_metaclass(Singleton)
class SQLEngine(object):
def __init__(self, url):
self._engine = create_engine(url)
def sql_engine(self):
return self._engine
class FetchEngine(object):
def __init__(self, name, url):
self._name = name
self._engine = SQLEngine(url)
@classmethod
def create_engine(cls, name):
if name == 'rl':
return FetchRLEngine
elif name == 'dx':
return FetchDXEngine
def base(self, table_name, begin_date, end_date, freq=None):
if freq is None:
query = select([table_name]).where(
and_(table_name.trade_date >= begin_date, table_name.trade_date <= end_date, ))
else:
rebalance_dates = makeSchedule(begin_date, end_date, freq, 'china.sse', BizDayConventions.Preceding)
query = select([table_name]).where(table_name.trade_date.in_(rebalance_dates))
return pd.read_sql(query, self._engine.sql_engine())
class FetchRLEngine(FetchEngine):
def __init__(self):
self._db_url = '''mysql+mysqlconnector://{0}:{1}@{2}:{3}/{4}'''.format(config.rl_db_user,
config.rl_db_pwd,
config.rl_db_host,
config.rl_db_port,
config.rl_db_database)
super(FetchRLEngine, self).__init__('rl', self._db_url)
def market(self, begin_date, end_date, freq=None):
table = importlib.import_module('data.rl_model').Market
return self.base(table, begin_date, end_date, freq)
def market_code(self, sets, begin_date, end_date, freq=None):
table = importlib.import_module('data.rl_model').Market
if freq is None:
query = select([table]).where(
and_(table.trade_date >= begin_date, table.trade_date <= end_date,
table.security_code.in_(sets)))
else:
rebalance_dates = makeSchedule(begin_date, end_date, freq, 'china.sse', BizDayConventions.Preceding)
query = select([table]).where(and_(table.trade_date.in_(rebalance_dates),
table.security_code.in_(sets)))
return pd.read_sql(query, self._engine.sql_engine()).drop(['id'], axis=1)
def index_market(self, benchmark, begin_date, end_date, freq=None):
table = importlib.import_module('data.rl_model').IndexMarket
if freq is None:
query = select([table]).where(
and_(table.trade_date >= begin_date, table.trade_date <= end_date,
table.security_code.in_(benchmark)))
else:
rebalance_dates = makeSchedule(begin_date, end_date, freq, 'china.sse', BizDayConventions.Preceding)
query = select([table]).where(
and_(table.trade_date.in_(rebalance_dates), table.security_code.in_(benchmark)))
return pd.read_sql(query, self._engine.sql_engine()).drop(['id'], axis=1)
def exposure(self, begin_date, end_date, freq=None):
table = importlib.import_module('data.rl_model').Exposure
return self.base(table, begin_date, end_date, freq)
def index(self, benchmark, begin_date, end_date, freq=None):
table = importlib.import_module('data.rl_model').Index
if freq is None:
query = select([table]).where(
and_(table.trade_date >= begin_date, table.trade_date <= end_date,
table.isymbol.in_(benchmark)))
else:
rebalance_dates = makeSchedule(begin_date, end_date, freq, 'china.sse', BizDayConventions.Preceding)
query = select([table]).where(and_(table.trade_date.in_(rebalance_dates),
table.isymbol.in_(benchmark)))
return pd.read_sql(query, self._engine.sql_engine()).drop(['id'], axis=1)
def industry(self, industry, begin_date, end_date, freq=None):
table = importlib.import_module('data.rl_model').Industry
if freq is None:
query = select([table.trade_date, table.isymbol,
table.symbol, table.iname]).where(
and_(table.trade_date >= begin_date, table.trade_date <= end_date,
table.isymbol.in_(industry)))
else:
rebalance_dates = makeSchedule(begin_date, end_date, freq, 'china.sse', BizDayConventions.Preceding)
query = select([table.trade_date, table.isymbol,
table.symbol, table.iname]).where(and_(
table.trade_date.in_(rebalance_dates),
table.isymbol.in_(industry)))
return pd.read_sql(query, self._engine.sql_engine())
def security(self, symbol_sets):
table = importlib.import_module('data.rl_model').GLInternalCode
query = select([table.security_code, table.symbol]).where(
and_(table.symbol.in_(symbol_sets)))
return pd.read_sql(query, self._engine.sql_engine())
def factor(self, factor_category, begin_date, end_date, factor_name=None, freq=None):
if factor_name is None:
table = importlib.import_module('data.factor_model').__getattribute__(factor_category)
return self.base(table, begin_date, end_date, freq)
else:
table = importlib.import_module('data.factor_model').__getattribute__(factor_category)
key_sets = ['id', 'security_code', 'trade_date'] + factor_name
db_columns = []
for key in key_sets:
db_columns.append(table.__dict__[key])
if freq is None:
query = select(db_columns).where(
and_(table.trade_date >= begin_date, table.trade_date <= end_date, ))
else:
rebalance_dates = makeSchedule(begin_date, end_date, freq, 'china.sse', BizDayConventions.Preceding)
query = select(db_columns).where(table.trade_date.in_(rebalance_dates))
return pd.read_sql(query, self._engine.sql_engine()).drop(['id'], axis=1)
class FetchDXEngine(FetchEngine):
def __init__(self):
super(FetchDXEngine, self).__init__('dx', 'postgresql+psycopg2://alpha:alpha@180.166.26.82:8889/alpha')
def market(self, begin_date, end_date, freq=None):
table = importlib.import_module('data.dx_model').Market
return self.base(table, begin_date, end_date, freq)
def exposure(self, begin_date, end_date, freq=None):
table = importlib.import_module('data.dx_model').Exposure
return self.base(table, begin_date, end_date, freq)
class EngineFactory():
def create_engine(self, engine_class):
return engine_class()
def result(self, begin_date, end_date):
raise NotImplementedError
class MarketFactory(EngineFactory):
def __init__(self, engine_class):
self._fetch_engine = self.create_engine(engine_class)
def result(self, begin_date, end_date, freq=None):
return self._fetch_engine.market(begin_date, end_date, freq)
def result_code(self, sets, begin_date, end_date, freq=None):
return self._fetch_engine.market_code(sets, begin_date, end_date, freq)
class ExposureFactory(EngineFactory):
def __init__(self, engine_class):
self._fetch_engine = self.create_engine(engine_class)
def result(self, begin_date, end_date, freq=None):
return self._fetch_engine.exposure(begin_date, end_date, freq)
class IndexFactory(EngineFactory):
def __init__(self, engine_class):
self._fetch_engine = self.create_engine(engine_class)
def result(self, benchmark, begin_date, end_date, freq=None):
return self._fetch_engine.index(benchmark, begin_date, end_date, freq)
class IndustryFactory(EngineFactory):
def __init__(self, engine_class):
self._fetch_engine = self.create_engine(engine_class)
def result(self, benchmark, begin_date, end_date, freq=None):
return self._fetch_engine.industry(benchmark, begin_date, end_date, freq)
class FactorFactory(EngineFactory):
def __init__(self, engine_class):
self._fetch_engine = self.create_engine(engine_class)
def result(self, factor_category, begin_date, end_date, factor_name=None, freq=None):
return self._fetch_engine.factor(factor_category, begin_date, end_date, factor_name, freq)
class SecurityFactory(EngineFactory):
def __init__(self, engine_class):
self._fetch_engine = self.create_engine(engine_class)
def result(self, symbol_sets):
return self._fetch_engine.security(symbol_sets)
class IndexMarketFactory(EngineFactory):
def __init__(self, engine_class):
self._fetch_engine = self.create_engine(engine_class)
def result(self, benchmark, begin_date, end_date, freq=None):
return self._fetch_engine.index_market(benchmark, begin_date, end_date, freq)
if __name__ == "__main__":
market_factory = ExposureFactory(FetchDXEngine)
begin_date = '2018-12-01'
end_date = '2018-12-31'
print(market_factory.result(begin_date, end_date))
| 42.914798 | 116 | 0.646186 | 1,161 | 9,570 | 4.999139 | 0.11714 | 0.068229 | 0.081496 | 0.101999 | 0.734493 | 0.722777 | 0.690386 | 0.665403 | 0.658511 | 0.640765 | 0 | 0.005676 | 0.245246 | 9,570 | 222 | 117 | 43.108108 | 0.797868 | 0.002717 | 0 | 0.45614 | 0 | 0 | 0.039409 | 0.010481 | 0 | 0 | 0 | 0 | 0 | 1 | 0.19883 | false | 0 | 0.105263 | 0.05848 | 0.51462 | 0.005848 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
636fae94296d077704f838d5bc8a253de68b535f | 549 | py | Python | models/collaborator.py | phil-lopreiato/frc-notebook-server | 35e79dbcca45f0257a138ca2834b0b6e57b814f1 | [
"MIT"
] | null | null | null | models/collaborator.py | phil-lopreiato/frc-notebook-server | 35e79dbcca45f0257a138ca2834b0b6e57b814f1 | [
"MIT"
] | null | null | null | models/collaborator.py | phil-lopreiato/frc-notebook-server | 35e79dbcca45f0257a138ca2834b0b6e57b814f1 | [
"MIT"
] | null | null | null | from google.appengine.ext import ndb
class Collaborator(ndb.Model):
"""
Represents collab relationship at events
Notifications will only be sent if both the
sender and receiver have shared with each other
"""
srcUserId = ndb.StringProperty(required=True)
dstUserId = ndb.StringProperty(required=True)
mutual = ndb.BooleanProperty(default=False)
eventKey = ndb.StringProperty(required=True)
created = ndb.DateTimeProperty(auto_now_add=True)
updated = ndb.DateTimeProperty(auto_now=True, indexed=False)
| 30.5 | 64 | 0.744991 | 66 | 549 | 6.151515 | 0.712121 | 0.125616 | 0.184729 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174863 | 549 | 17 | 65 | 32.294118 | 0.896247 | 0.240437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
639a14e502ea586296e65639c8a98f05735475db | 272 | py | Python | app/views.py | we-race-here/wrh-brac | 6dcd6bb23c86f98896127c89b24e6dc30af9648a | [
"MIT"
] | null | null | null | app/views.py | we-race-here/wrh-brac | 6dcd6bb23c86f98896127c89b24e6dc30af9648a | [
"MIT"
] | 9 | 2022-01-13T13:11:03.000Z | 2022-01-17T19:12:17.000Z | app/views.py | we-race-here/wrh-brac | 6dcd6bb23c86f98896127c89b24e6dc30af9648a | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from django.views.generic import TemplateView
from . import models, serializers
class HomeView(TemplateView):
template_name = 'Data.html'
class FrontView(TemplateView):
template_name = 'index.html'
| 20.923077 | 45 | 0.775735 | 33 | 272 | 6.333333 | 0.636364 | 0.095694 | 0.229665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 272 | 12 | 46 | 22.666667 | 0.900862 | 0.084559 | 0 | 0 | 0 | 0 | 0.077236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
63bef9d21b68c3b40a658cb21bf53511e46c9e39 | 987 | py | Python | network.py | wildarch/aiai | 765fb67b42359f8fa0b530d5baf13714de069e90 | [
"MIT"
] | 1 | 2020-12-23T12:47:41.000Z | 2020-12-23T12:47:41.000Z | network.py | wildarch/aiai | 765fb67b42359f8fa0b530d5baf13714de069e90 | [
"MIT"
] | null | null | null | network.py | wildarch/aiai | 765fb67b42359f8fa0b530d5baf13714de069e90 | [
"MIT"
] | null | null | null | import numpy as np
import numpy.random as rand
from functools import reduce
class Network:
def __init__(self, layer_sizes):
# layer_sizes: list of numbers representing number of neurons per layer
# Create a numpy array of biases for each layer except the (first) input layer
self.biases = [rand.randn(l, 1) for l in layer_sizes[1:]]
# The weights are an array of matrices. 'Between' each two layers is one matrix.
# Every row contains a set of weights for each node
self.weights = [rand.randn(y, x) for x, y in zip(layer_sizes[:-1], layer_sizes[1:])]
def feed_forward(self, input):
# Perform a left fold
return reduce(lambda input, b_w: np.dot(b_w[1], input)+b_w[0], zip(self.biases, self.weights), input)
def sigmoid(z):
# The sigmoid function
return 1.0 / (1.0 + np.exp(-z))
def sigmoid_deriv(z):
# First-order derivative of the sigmoid function
return sigmoid(z) * (1 - sigmoid(z))
| 28.2 | 109 | 0.663627 | 159 | 987 | 4.031447 | 0.45912 | 0.078003 | 0.051482 | 0.074883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014589 | 0.236069 | 987 | 34 | 110 | 29.029412 | 0.835544 | 0.367781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.230769 | 0.230769 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
892b69c07a92d99e6dd2a8d72d712a862b76cd1f | 442 | py | Python | tests/unit/test_utility_item.py | luiscape/hdxscraper-worldpop | a94ea98d62645a0f2f508f227a642e7168e7281a | [
"MIT"
] | null | null | null | tests/unit/test_utility_item.py | luiscape/hdxscraper-worldpop | a94ea98d62645a0f2f508f227a642e7168e7281a | [
"MIT"
] | 2 | 2016-03-08T15:36:27.000Z | 2016-03-08T15:36:52.000Z | tests/unit/test_utility_item.py | luiscape/hdxscraper-worldpop | a94ea98d62645a0f2f508f227a642e7168e7281a | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Unit tests for the item() utility function.
'''
import unittest
from collector.utilities.item import item
class TestUtilityItem(unittest.TestCase):
'''
Tests for the item() utility function.
'''
def test_item_returns_correct_type(self):
'''
Tests that the item() utility function returns the right type.
'''
result = item('bullet')
self.assertIs(type(result), str)
| 21.047619 | 66 | 0.678733 | 56 | 442 | 5.285714 | 0.589286 | 0.070946 | 0.141892 | 0.222973 | 0.202703 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0.00277 | 0.183258 | 442 | 20 | 67 | 22.1 | 0.817175 | 0.41629 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
89333b9df818e24672d6ad9bcfb169b6126774e6 | 2,081 | py | Python | jcpdstools/view/mainwidget.py | SHDShim/JCPDSTools | 4a4c1bd22a3f71c3285b5877d5d22b2702b7550c | [
"Apache-2.0"
] | 3 | 2020-08-06T09:26:00.000Z | 2021-08-10T14:13:58.000Z | jcpdstools/view/mainwidget.py | SHDShim/JCPDSTools | 4a4c1bd22a3f71c3285b5877d5d22b2702b7550c | [
"Apache-2.0"
] | null | null | null | jcpdstools/view/mainwidget.py | SHDShim/JCPDSTools | 4a4c1bd22a3f71c3285b5877d5d22b2702b7550c | [
"Apache-2.0"
] | null | null | null | import os
from PyQt5 import QtWidgets
from .qtd import Ui_MainWindow
from version import __version__
from utils import SpinBoxFixStyle
class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
"""
Main window
"""
def __init__(self, parent=None):
# initialization of the superclass
super(MainWindow, self).__init__(parent)
self.setupUi(self) # setup the GUI --> function generated by pyuic5
env = os.environ['CONDA_DEFAULT_ENV']
self.setWindowTitle("JCPDSTools ver. " + str(__version__) + " on " + env)
#
self.build_ui()
#self.connect_channel()
def build_ui(self):
self.pushButton_WriteDioptasJCPDS.setDisabled(True)
self.doubleSpinBox_CellParamA.setKeyboardTracking(False)
self.doubleSpinBox_CellParamA.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_CellParamB.setKeyboardTracking(False)
self.doubleSpinBox_CellParamB.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_CellParamC.setKeyboardTracking(False)
self.doubleSpinBox_CellParamC.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_CellParamAlpha.setKeyboardTracking(False)
self.doubleSpinBox_CellParamAlpha.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_CellParamBeta.setKeyboardTracking(False)
self.doubleSpinBox_CellParamBeta.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_CellParamGamma.setKeyboardTracking(False)
self.doubleSpinBox_CellParamGamma.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_K0.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_K0p.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_MinDsp.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_MinInt.setStyle(SpinBoxFixStyle())
self.doubleSpinBox_K0.setKeyboardTracking(False)
self.doubleSpinBox_K0p.setKeyboardTracking(False)
self.doubleSpinBox_MinDsp.setKeyboardTracking(False)
self.doubleSpinBox_MinInt.setKeyboardTracking(False)
def closeEvent(self, event):
self.deleteLater()
event.accept()
| 42.469388 | 81 | 0.739068 | 188 | 2,081 | 7.946809 | 0.351064 | 0.227577 | 0.180723 | 0.267738 | 0.056225 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003503 | 0.176838 | 2,081 | 48 | 82 | 43.354167 | 0.868651 | 0.054781 | 0 | 0 | 0 | 0 | 0.018994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.135135 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
893500b28f3f57e96f65fa9b86818c48a291c5c0 | 1,164 | py | Python | tianshou/env/worker/dummy.py | Leeqh666/tianshou | f71db624bee67b6170caaa06b0d3f68901b87985 | [
"MIT"
] | null | null | null | tianshou/env/worker/dummy.py | Leeqh666/tianshou | f71db624bee67b6170caaa06b0d3f68901b87985 | [
"MIT"
] | null | null | null | tianshou/env/worker/dummy.py | Leeqh666/tianshou | f71db624bee67b6170caaa06b0d3f68901b87985 | [
"MIT"
] | null | null | null | import gym
import numpy as np
from typing import List, Callable, Optional, Any
from tianshou.env.worker import EnvWorker
class DummyEnvWorker(EnvWorker):
"""Dummy worker used in sequential vector environments."""
def __init__(self, env_fn: Callable[[], gym.Env]) -> None:
super().__init__(env_fn)
self.env = env_fn()
def __getattr__(self, key: str) -> Any:
return getattr(self.env, key)
def reset(self) -> Any:
return self.env.reset()
@staticmethod
def wait(workers: List['DummyEnvWorker'],
wait_num: int,
timeout: Optional[float] = None) -> List['DummyEnvWorker']:
# SequentialEnvWorker objects are always ready
return workers
def send_action(self, action: np.ndarray) -> None:
self.result = self.env.step(action)
def seed(self, seed: Optional[int] = None) -> List[int]:
return self.env.seed(seed) if hasattr(self.env, 'seed') else None
def render(self, **kwargs) -> Any:
return self.env.render(**kwargs) \
if hasattr(self.env, 'render') else None
def close_env(self) -> None:
self.env.close()
| 29.1 | 73 | 0.631443 | 147 | 1,164 | 4.877551 | 0.394558 | 0.097629 | 0.054393 | 0.04463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243127 | 1,164 | 39 | 74 | 29.846154 | 0.813848 | 0.084192 | 0 | 0 | 0 | 0 | 0.035849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.192308 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
89390457453d455098d6d865b97a3debbac7c065 | 43 | py | Python | sugaroid/version.py | blackxspade/sugaroid | 64e2031c1b432e6647b15f59120879c7e1b9f8f8 | [
"MIT"
] | null | null | null | sugaroid/version.py | blackxspade/sugaroid | 64e2031c1b432e6647b15f59120879c7e1b9f8f8 | [
"MIT"
] | null | null | null | sugaroid/version.py | blackxspade/sugaroid | 64e2031c1b432e6647b15f59120879c7e1b9f8f8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
VERSION = "v0.22.0"
| 14.333333 | 22 | 0.651163 | 8 | 43 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0.116279 | 43 | 2 | 23 | 21.5 | 0.605263 | 0.488372 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
893d5a4482f292937557682d8715ef74cab055df | 563 | py | Python | Python/easy/e395.py | tlgs/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | 4 | 2017-10-18T02:17:02.000Z | 2022-02-02T01:19:02.000Z | Python/easy/e395.py | tlseabra/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | 4 | 2016-01-24T20:30:02.000Z | 2017-01-18T16:01:23.000Z | Python/easy/e395.py | tlgs/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | null | null | null | # 22/06/2021
import itertools
def nonogramrow(seq):
return [sum(g) for k, g in itertools.groupby(seq) if k]
assert nonogramrow([]) == []
assert nonogramrow([0, 0, 0, 0, 0]) == []
assert nonogramrow([1, 1, 1, 1, 1]) == [5]
assert nonogramrow([0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1]) == [5, 4]
assert nonogramrow([1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0]) == [2, 1, 3]
assert nonogramrow([0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1]) == [2, 1, 3]
assert nonogramrow([1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]) == [
1,
1,
1,
1,
1,
1,
1,
1,
]
| 22.52 | 72 | 0.488455 | 111 | 563 | 2.477477 | 0.207207 | 0.181818 | 0.185455 | 0.16 | 0.407273 | 0.298182 | 0.083636 | 0.083636 | 0.054545 | 0.054545 | 0 | 0.206311 | 0.268206 | 563 | 24 | 73 | 23.458333 | 0.461165 | 0.017762 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.368421 | 1 | 0.052632 | false | 0 | 0.052632 | 0.052632 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8956a32ea669342323a0da4e15ade20f0c7f1b66 | 91 | py | Python | src/coreapis/apps.py | salemzii/ChopFast | 95ea88387ecfdb56bd643970b69425b1a1c6f388 | [
"MIT"
] | null | null | null | src/coreapis/apps.py | salemzii/ChopFast | 95ea88387ecfdb56bd643970b69425b1a1c6f388 | [
"MIT"
] | null | null | null | src/coreapis/apps.py | salemzii/ChopFast | 95ea88387ecfdb56bd643970b69425b1a1c6f388 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CoreapisConfig(AppConfig):
name = 'coreapis'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
895976c032c7db9f729336aff5e0279c9a266299 | 274 | py | Python | project/opendata/parse.py | FelippeJC/besa | 083e62457c9c9beccc869beb89675720be0d248a | [
"MIT"
] | null | null | null | project/opendata/parse.py | FelippeJC/besa | 083e62457c9c9beccc869beb89675720be0d248a | [
"MIT"
] | 2 | 2021-05-10T16:40:12.000Z | 2021-09-05T09:26:07.000Z | project/opendata/parse.py | FelippeJC/besa | 083e62457c9c9beccc869beb89675720be0d248a | [
"MIT"
] | null | null | null | from .request import datastore_search
def get_data_from_datastore(expression):
"""Returns a list of records found in a datastore search"""
response = datastore_search(expression)
result = response.get("result", dict())
return result.get("records", dict())
| 30.444444 | 63 | 0.729927 | 35 | 274 | 5.571429 | 0.571429 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160584 | 274 | 8 | 64 | 34.25 | 0.847826 | 0.193431 | 0 | 0 | 0 | 0 | 0.060465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
89933c1df7105a66426ac059f6d21de37d3ae93b | 291,404 | py | Python | tests/examples/minlplib/robot200.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/robot200.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/robot200.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # NLP written by GAMS Convert at 04/21/18 13:54:04
#
# Equation counts
# Total E G L N X C B
# 1603 1603 0 0 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc si
# Total cont binary integer sos1 sos2 scont sint
# 2213 2213 0 0 0 0 0 0
# FX 16 16 0 0 0 0 0 0
#
# Nonzero counts
# Total const NL DLL
# 7807 2804 5003 0
#
# Reformulation has removed 1 variable and 1 equation
from pyomo.environ import *
model = m = ConcreteModel()
m.x1 = Var(within=Reals,bounds=(4.5,4.5),initialize=4.5)
m.x2 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x3 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x4 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x5 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x6 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x7 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x8 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x9 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x10 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x11 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x12 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x13 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x14 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x15 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x16 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x17 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x18 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x19 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x20 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x21 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x22 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x23 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x24 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x25 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x26 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x27 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x28 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x29 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x30 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x31 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x32 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x33 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x34 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x35 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x36 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x37 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x38 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x39 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x40 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x41 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x42 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x43 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x44 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x45 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x46 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x47 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x48 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x49 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x50 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x51 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x52 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x53 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x54 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x55 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x56 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x57 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x58 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x59 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x60 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x61 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x62 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x63 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x64 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x65 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x66 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x67 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x68 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x69 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x70 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x71 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x72 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x73 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x74 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x75 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x76 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x77 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x78 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x79 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x80 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x81 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x82 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x83 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x84 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x85 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x86 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x87 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x88 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x89 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x90 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x91 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x92 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x93 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x94 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x95 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x96 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x97 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x98 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x99 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x100 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x101 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x102 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x103 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x104 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x105 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x106 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x107 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x108 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x109 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x110 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x111 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x112 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x113 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x114 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x115 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x116 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x117 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x118 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x119 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x120 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x121 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x122 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x123 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x124 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x125 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x126 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x127 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x128 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x129 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x130 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x131 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x132 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x133 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x134 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x135 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x136 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x137 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x138 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x139 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x140 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x141 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x142 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x143 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x144 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x145 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x146 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x147 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x148 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x149 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x150 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x151 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x152 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x153 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x154 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x155 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x156 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x157 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x158 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x159 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x160 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x161 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x162 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x163 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x164 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x165 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x166 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x167 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x168 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x169 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x170 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x171 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x172 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x173 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x174 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x175 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x176 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x177 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x178 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x179 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x180 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x181 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x182 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x183 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x184 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x185 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x186 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x187 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x188 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x189 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x190 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x191 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x192 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x193 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x194 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x195 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x196 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x197 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x198 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x199 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x200 = Var(within=Reals,bounds=(0,5),initialize=4.5)
m.x201 = Var(within=Reals,bounds=(4.5,4.5),initialize=4.5)
m.x202 = Var(within=Reals,bounds=(0,0),initialize=0)
m.x203 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00020943951023932)
m.x204 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.000471238898038469)
m.x205 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.000837758040957278)
m.x206 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00130899693899575)
m.x207 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00188495559215388)
m.x208 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00256563400043166)
m.x209 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00335103216382911)
m.x210 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00424115008234622)
m.x211 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00523598775598299)
m.x212 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00633554518473942)
m.x213 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0075398223686155)
m.x214 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.00884881930761125)
m.x215 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0102625360017267)
m.x216 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0117809724509617)
m.x217 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0134041286553164)
m.x218 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0151320046147908)
m.x219 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0169646003293849)
m.x220 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0189019157990986)
m.x221 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.020943951023932)
m.x222 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.023090706003885)
m.x223 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0253421807389577)
m.x224 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.02769837522915)
m.x225 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.030159289474462)
m.x226 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0327249234748937)
m.x227 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.035395277230445)
m.x228 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.038170350741116)
m.x229 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0410501440069066)
m.x230 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0440346570278169)
m.x231 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0471238898038469)
m.x232 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0503178423349965)
m.x233 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0536165146212658)
m.x234 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0570199066626547)
m.x235 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0605280184591634)
m.x236 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0641408500107916)
m.x237 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0678584013175395)
m.x238 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0716806723794071)
m.x239 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0756076631963944)
m.x240 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0796393737685013)
m.x241 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0837758040957278)
m.x242 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.088016954178074)
m.x243 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0923628240155399)
m.x244 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.0968134136081254)
m.x245 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.101368722955831)
m.x246 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.106028752058656)
m.x247 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.1107935009166)
m.x248 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.115662969529664)
m.x249 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.120637157897848)
m.x250 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.125716066021152)
m.x251 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.130899693899575)
m.x252 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.136188041533118)
m.x253 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.14158110892178)
m.x254 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.147078896065562)
m.x255 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.152681402964464)
m.x256 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.158388629618485)
m.x257 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.164200576027627)
m.x258 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.170117242191887)
m.x259 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.176138628111268)
m.x260 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.182264733785768)
m.x261 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.188495559215388)
m.x262 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.194831104400127)
m.x263 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.201271369339986)
m.x264 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.207816354034965)
m.x265 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.214466058485063)
m.x266 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.221220482690281)
m.x267 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.228079626650619)
m.x268 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.235043490366076)
m.x269 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.242112073836653)
m.x270 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.24928537706235)
m.x271 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.256563400043166)
m.x272 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.263946142779102)
m.x273 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.271433605270158)
m.x274 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.279025787516333)
m.x275 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.286722689517628)
m.x276 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.294524311274043)
m.x277 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.302430652785577)
m.x278 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.310441714052231)
m.x279 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.318557495074005)
m.x280 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.326777995850898)
m.x281 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.335103216382911)
m.x282 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.343533156670044)
m.x283 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.352067816712296)
m.x284 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.360707196509668)
m.x285 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.36945129606216)
m.x286 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.378300115369771)
m.x287 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.387253654432502)
m.x288 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.396311913250352)
m.x289 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.405474891823323)
m.x290 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.414742590151413)
m.x291 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.424115008234622)
m.x292 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.433592146072951)
m.x293 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.4431740036664)
m.x294 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.452860581014969)
m.x295 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.462651878118657)
m.x296 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.472547894977465)
m.x297 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.482548631591392)
m.x298 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.492654087960439)
m.x299 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.502864264084606)
m.x300 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.513179159963893)
m.x301 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.523598775598299)
m.x302 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.534123110987825)
m.x303 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.54475216613247)
m.x304 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.555485941032235)
m.x305 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.56632443568712)
m.x306 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.577267650097124)
m.x307 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.588315584262249)
m.x308 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.599468238182492)
m.x309 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.610725611857856)
m.x310 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.622087705288339)
m.x311 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.633554518473942)
m.x312 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.645126051414664)
m.x313 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.656802304110506)
m.x314 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.668583276561468)
m.x315 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.680468968767549)
m.x316 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.69245938072875)
m.x317 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.704554512445071)
m.x318 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.716754363916511)
m.x319 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.729058935143071)
m.x320 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.741468226124751)
m.x321 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.75398223686155)
m.x322 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.766600967353469)
m.x323 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.779324417600508)
m.x324 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.792152587602666)
m.x325 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.805085477359944)
m.x326 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.818123086872342)
m.x327 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.831265416139859)
m.x328 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.844512465162496)
m.x329 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.857864233940253)
m.x330 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.871320722473129)
m.x331 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.884881930761125)
m.x332 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.898547858804241)
m.x333 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.912318506602476)
m.x334 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.926193874155831)
m.x335 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.940173961464306)
m.x336 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.9542587685279)
m.x337 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.968448295346614)
m.x338 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.982742541920447)
m.x339 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=0.9971415082494)
m.x340 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.01164519433347)
m.x341 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.02625360017267)
m.x342 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.04096672576698)
m.x343 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.05578457111641)
m.x344 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.07070713622096)
m.x345 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.08573442108063)
m.x346 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.10086642569542)
m.x347 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.11610315006533)
m.x348 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.13144459419036)
m.x349 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.14689075807051)
m.x350 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.16244164170578)
m.x351 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.17809724509617)
m.x352 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.19385756824168)
m.x353 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.20972261114231)
m.x354 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.22569237379806)
m.x355 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.24176685620893)
m.x356 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.25794605837491)
m.x357 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.27422998029602)
m.x358 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.29061862197225)
m.x359 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.30711198340359)
m.x360 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.32371006459006)
m.x361 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.34041286553165)
m.x362 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.35722038622835)
m.x363 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.37413262668018)
m.x364 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.39114958688712)
m.x365 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.40827126684918)
m.x366 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.42549766656637)
m.x367 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.44282878603867)
m.x368 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.4602646252661)
m.x369 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.47780518424864)
m.x370 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.4954504629863)
m.x371 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.51320046147908)
m.x372 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.53105517972699)
m.x373 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.54901461773001)
m.x374 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.56707877548815)
m.x375 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.58524765300141)
m.x376 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.60352125026979)
m.x377 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.62189956729329)
m.x378 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.64038260407191)
m.x379 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.65897036060565)
m.x380 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.67766283689451)
m.x381 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.69646003293849)
m.x382 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.71536194873759)
m.x383 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.73436858429181)
m.x384 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.75347993960114)
m.x385 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.7726960146656)
m.x386 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.79201680948518)
m.x387 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.81144232405987)
m.x388 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.83097255838969)
m.x389 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.85060751247463)
m.x390 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.87034718631468)
m.x391 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.89019157990986)
m.x392 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.91014069326015)
m.x393 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.93019452636557)
m.x394 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.9503530792261)
m.x395 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.97061635184176)
m.x396 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=1.99098434421253)
m.x397 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=2.01145705633842)
m.x398 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=2.03203448821944)
m.x399 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=2.05271663985557)
m.x400 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=2.07350351124682)
m.x401 = Var(within=Reals,bounds=(-3.14159265358979,3.14159265358979),initialize=2.0943951023932)
m.x402 = Var(within=Reals,bounds=(2.0943951023932,2.0943951023932),initialize=2.0943951023932)
m.x403 = Var(within=Reals,bounds=(0.785398163397448,0.785398163397448),initialize=0.785398163397448)
m.x404 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x405 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x406 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x407 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x408 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x409 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x410 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x411 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x412 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x413 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x414 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x415 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x416 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x417 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x418 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x419 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x420 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x421 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x422 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x423 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x424 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x425 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x426 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x427 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x428 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x429 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x430 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x431 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x432 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x433 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x434 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x435 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x436 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x437 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x438 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x439 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x440 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x441 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x442 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x443 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x444 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x445 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x446 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x447 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x448 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x449 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x450 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x451 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x452 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x453 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x454 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x455 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x456 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x457 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x458 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x459 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x460 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x461 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x462 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x463 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x464 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x465 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x466 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x467 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x468 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x469 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x470 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x471 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x472 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x473 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x474 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x475 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x476 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x477 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x478 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x479 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x480 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x481 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x482 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x483 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x484 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x485 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x486 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x487 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x488 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x489 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x490 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x491 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x492 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x493 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x494 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x495 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x496 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x497 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x498 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x499 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x500 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x501 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x502 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x503 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x504 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x505 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x506 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x507 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x508 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x509 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x510 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x511 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x512 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x513 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x514 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x515 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x516 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x517 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x518 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x519 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x520 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x521 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x522 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x523 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x524 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x525 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x526 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x527 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x528 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x529 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x530 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x531 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x532 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x533 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x534 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x535 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x536 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x537 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x538 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x539 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x540 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x541 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x542 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x543 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x544 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x545 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x546 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x547 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x548 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x549 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x550 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x551 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x552 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x553 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x554 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x555 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x556 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x557 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x558 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x559 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x560 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x561 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x562 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x563 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x564 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x565 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x566 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x567 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x568 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x569 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x570 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x571 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x572 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x573 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x574 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x575 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x576 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x577 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x578 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x579 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x580 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x581 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x582 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x583 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x584 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x585 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x586 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x587 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x588 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x589 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x590 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x591 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x592 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x593 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x594 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x595 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x596 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x597 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x598 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x599 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x600 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x601 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x602 = Var(within=Reals,bounds=(0,3.14159265358979),initialize=0.785398163397448)
m.x603 = Var(within=Reals,bounds=(0.785398163397448,0.785398163397448),initialize=0.785398163397448)
m.x604 = Var(within=Reals,bounds=(0,0),initialize=0)
m.x605 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x606 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x607 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x608 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x609 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x610 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x611 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x612 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x613 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x614 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x615 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x616 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x617 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x618 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x619 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x620 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x621 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x622 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x623 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x624 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x625 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x626 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x627 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x628 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x629 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x630 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x631 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x632 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x633 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x634 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x635 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x636 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x637 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x638 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x639 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x640 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x641 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x642 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x643 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x644 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x645 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x646 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x647 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x648 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x649 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x650 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x651 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x652 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x653 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x654 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x655 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x656 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x657 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x658 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x659 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x660 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x661 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x662 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x663 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x664 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x665 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x666 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x667 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x668 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x669 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x670 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x671 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x672 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x673 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x674 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x675 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x676 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x677 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x678 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x679 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x680 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x681 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x682 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x683 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x684 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x685 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x686 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x687 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x688 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x689 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x690 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x691 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x692 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x693 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x694 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x695 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x696 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x697 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x698 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x699 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x700 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x701 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x702 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x703 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x704 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x705 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x706 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x707 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x708 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x709 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x710 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x711 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x712 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x713 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x714 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x715 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x716 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x717 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x718 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x719 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x720 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x721 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x722 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x723 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x724 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x725 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x726 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x727 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x728 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x729 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x730 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x731 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x732 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x733 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x734 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x735 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x736 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x737 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x738 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x739 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x740 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x741 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x742 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x743 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x744 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x745 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x746 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x747 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x748 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x749 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x750 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x751 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x752 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x753 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x754 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x755 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x756 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x757 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x758 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x759 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x760 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x761 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x762 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x763 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x764 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x765 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x766 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x767 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x768 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x769 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x770 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x771 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x772 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x773 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x774 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x775 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x776 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x777 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x778 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x779 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x780 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x781 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x782 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x783 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x784 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x785 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x786 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x787 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x788 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x789 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x790 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x791 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x792 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x793 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x794 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x795 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x796 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x797 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x798 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x799 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x800 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x801 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x802 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x803 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x804 = Var(within=Reals,bounds=(0,0),initialize=0)
m.x805 = Var(within=Reals,bounds=(0,0),initialize=0)
m.x806 = Var(within=Reals,bounds=(None,None),initialize=0.0418879020478639)
m.x807 = Var(within=Reals,bounds=(None,None),initialize=0.0628318530717959)
m.x808 = Var(within=Reals,bounds=(None,None),initialize=0.0837758040957278)
m.x809 = Var(within=Reals,bounds=(None,None),initialize=0.10471975511966)
m.x810 = Var(within=Reals,bounds=(None,None),initialize=0.125663706143592)
m.x811 = Var(within=Reals,bounds=(None,None),initialize=0.146607657167524)
m.x812 = Var(within=Reals,bounds=(None,None),initialize=0.167551608191456)
m.x813 = Var(within=Reals,bounds=(None,None),initialize=0.188495559215388)
m.x814 = Var(within=Reals,bounds=(None,None),initialize=0.20943951023932)
m.x815 = Var(within=Reals,bounds=(None,None),initialize=0.230383461263251)
m.x816 = Var(within=Reals,bounds=(None,None),initialize=0.251327412287183)
m.x817 = Var(within=Reals,bounds=(None,None),initialize=0.272271363311115)
m.x818 = Var(within=Reals,bounds=(None,None),initialize=0.293215314335047)
m.x819 = Var(within=Reals,bounds=(None,None),initialize=0.314159265358979)
m.x820 = Var(within=Reals,bounds=(None,None),initialize=0.335103216382911)
m.x821 = Var(within=Reals,bounds=(None,None),initialize=0.356047167406843)
m.x822 = Var(within=Reals,bounds=(None,None),initialize=0.376991118430775)
m.x823 = Var(within=Reals,bounds=(None,None),initialize=0.397935069454707)
m.x824 = Var(within=Reals,bounds=(None,None),initialize=0.418879020478639)
m.x825 = Var(within=Reals,bounds=(None,None),initialize=0.439822971502571)
m.x826 = Var(within=Reals,bounds=(None,None),initialize=0.460766922526503)
m.x827 = Var(within=Reals,bounds=(None,None),initialize=0.481710873550435)
m.x828 = Var(within=Reals,bounds=(None,None),initialize=0.502654824574367)
m.x829 = Var(within=Reals,bounds=(None,None),initialize=0.523598775598299)
m.x830 = Var(within=Reals,bounds=(None,None),initialize=0.544542726622231)
m.x831 = Var(within=Reals,bounds=(None,None),initialize=0.565486677646163)
m.x832 = Var(within=Reals,bounds=(None,None),initialize=0.586430628670095)
m.x833 = Var(within=Reals,bounds=(None,None),initialize=0.607374579694027)
m.x834 = Var(within=Reals,bounds=(None,None),initialize=0.628318530717959)
m.x835 = Var(within=Reals,bounds=(None,None),initialize=0.64926248174189)
m.x836 = Var(within=Reals,bounds=(None,None),initialize=0.670206432765822)
m.x837 = Var(within=Reals,bounds=(None,None),initialize=0.691150383789754)
m.x838 = Var(within=Reals,bounds=(None,None),initialize=0.712094334813686)
m.x839 = Var(within=Reals,bounds=(None,None),initialize=0.733038285837618)
m.x840 = Var(within=Reals,bounds=(None,None),initialize=0.75398223686155)
m.x841 = Var(within=Reals,bounds=(None,None),initialize=0.774926187885482)
m.x842 = Var(within=Reals,bounds=(None,None),initialize=0.795870138909414)
m.x843 = Var(within=Reals,bounds=(None,None),initialize=0.816814089933346)
m.x844 = Var(within=Reals,bounds=(None,None),initialize=0.837758040957278)
m.x845 = Var(within=Reals,bounds=(None,None),initialize=0.85870199198121)
m.x846 = Var(within=Reals,bounds=(None,None),initialize=0.879645943005142)
m.x847 = Var(within=Reals,bounds=(None,None),initialize=0.900589894029074)
m.x848 = Var(within=Reals,bounds=(None,None),initialize=0.921533845053006)
m.x849 = Var(within=Reals,bounds=(None,None),initialize=0.942477796076938)
m.x850 = Var(within=Reals,bounds=(None,None),initialize=0.96342174710087)
m.x851 = Var(within=Reals,bounds=(None,None),initialize=0.984365698124802)
m.x852 = Var(within=Reals,bounds=(None,None),initialize=1.00530964914873)
m.x853 = Var(within=Reals,bounds=(None,None),initialize=1.02625360017267)
m.x854 = Var(within=Reals,bounds=(None,None),initialize=1.0471975511966)
m.x855 = Var(within=Reals,bounds=(None,None),initialize=1.06814150222053)
m.x856 = Var(within=Reals,bounds=(None,None),initialize=1.08908545324446)
m.x857 = Var(within=Reals,bounds=(None,None),initialize=1.11002940426839)
m.x858 = Var(within=Reals,bounds=(None,None),initialize=1.13097335529233)
m.x859 = Var(within=Reals,bounds=(None,None),initialize=1.15191730631626)
m.x860 = Var(within=Reals,bounds=(None,None),initialize=1.17286125734019)
m.x861 = Var(within=Reals,bounds=(None,None),initialize=1.19380520836412)
m.x862 = Var(within=Reals,bounds=(None,None),initialize=1.21474915938805)
m.x863 = Var(within=Reals,bounds=(None,None),initialize=1.23569311041199)
m.x864 = Var(within=Reals,bounds=(None,None),initialize=1.25663706143592)
m.x865 = Var(within=Reals,bounds=(None,None),initialize=1.27758101245985)
m.x866 = Var(within=Reals,bounds=(None,None),initialize=1.29852496348378)
m.x867 = Var(within=Reals,bounds=(None,None),initialize=1.31946891450771)
m.x868 = Var(within=Reals,bounds=(None,None),initialize=1.34041286553164)
m.x869 = Var(within=Reals,bounds=(None,None),initialize=1.36135681655558)
m.x870 = Var(within=Reals,bounds=(None,None),initialize=1.38230076757951)
m.x871 = Var(within=Reals,bounds=(None,None),initialize=1.40324471860344)
m.x872 = Var(within=Reals,bounds=(None,None),initialize=1.42418866962737)
m.x873 = Var(within=Reals,bounds=(None,None),initialize=1.4451326206513)
m.x874 = Var(within=Reals,bounds=(None,None),initialize=1.46607657167524)
m.x875 = Var(within=Reals,bounds=(None,None),initialize=1.48702052269917)
m.x876 = Var(within=Reals,bounds=(None,None),initialize=1.5079644737231)
m.x877 = Var(within=Reals,bounds=(None,None),initialize=1.52890842474703)
m.x878 = Var(within=Reals,bounds=(None,None),initialize=1.54985237577096)
m.x879 = Var(within=Reals,bounds=(None,None),initialize=1.5707963267949)
m.x880 = Var(within=Reals,bounds=(None,None),initialize=1.59174027781883)
m.x881 = Var(within=Reals,bounds=(None,None),initialize=1.61268422884276)
m.x882 = Var(within=Reals,bounds=(None,None),initialize=1.63362817986669)
m.x883 = Var(within=Reals,bounds=(None,None),initialize=1.65457213089062)
m.x884 = Var(within=Reals,bounds=(None,None),initialize=1.67551608191456)
m.x885 = Var(within=Reals,bounds=(None,None),initialize=1.69646003293849)
m.x886 = Var(within=Reals,bounds=(None,None),initialize=1.71740398396242)
m.x887 = Var(within=Reals,bounds=(None,None),initialize=1.73834793498635)
m.x888 = Var(within=Reals,bounds=(None,None),initialize=1.75929188601028)
m.x889 = Var(within=Reals,bounds=(None,None),initialize=1.78023583703422)
m.x890 = Var(within=Reals,bounds=(None,None),initialize=1.80117978805815)
m.x891 = Var(within=Reals,bounds=(None,None),initialize=1.82212373908208)
m.x892 = Var(within=Reals,bounds=(None,None),initialize=1.84306769010601)
m.x893 = Var(within=Reals,bounds=(None,None),initialize=1.86401164112994)
m.x894 = Var(within=Reals,bounds=(None,None),initialize=1.88495559215388)
m.x895 = Var(within=Reals,bounds=(None,None),initialize=1.90589954317781)
m.x896 = Var(within=Reals,bounds=(None,None),initialize=1.92684349420174)
m.x897 = Var(within=Reals,bounds=(None,None),initialize=1.94778744522567)
m.x898 = Var(within=Reals,bounds=(None,None),initialize=1.9687313962496)
m.x899 = Var(within=Reals,bounds=(None,None),initialize=1.98967534727354)
m.x900 = Var(within=Reals,bounds=(None,None),initialize=2.01061929829747)
m.x901 = Var(within=Reals,bounds=(None,None),initialize=2.0315632493214)
m.x902 = Var(within=Reals,bounds=(None,None),initialize=2.05250720034533)
m.x903 = Var(within=Reals,bounds=(None,None),initialize=2.07345115136926)
m.x904 = Var(within=Reals,bounds=(None,None),initialize=2.0943951023932)
m.x905 = Var(within=Reals,bounds=(None,None),initialize=2.11533905341713)
m.x906 = Var(within=Reals,bounds=(None,None),initialize=2.13628300444106)
m.x907 = Var(within=Reals,bounds=(None,None),initialize=2.15722695546499)
m.x908 = Var(within=Reals,bounds=(None,None),initialize=2.17817090648892)
m.x909 = Var(within=Reals,bounds=(None,None),initialize=2.19911485751286)
m.x910 = Var(within=Reals,bounds=(None,None),initialize=2.22005880853679)
m.x911 = Var(within=Reals,bounds=(None,None),initialize=2.24100275956072)
m.x912 = Var(within=Reals,bounds=(None,None),initialize=2.26194671058465)
m.x913 = Var(within=Reals,bounds=(None,None),initialize=2.28289066160858)
m.x914 = Var(within=Reals,bounds=(None,None),initialize=2.30383461263252)
m.x915 = Var(within=Reals,bounds=(None,None),initialize=2.32477856365645)
m.x916 = Var(within=Reals,bounds=(None,None),initialize=2.34572251468038)
m.x917 = Var(within=Reals,bounds=(None,None),initialize=2.36666646570431)
m.x918 = Var(within=Reals,bounds=(None,None),initialize=2.38761041672824)
m.x919 = Var(within=Reals,bounds=(None,None),initialize=2.40855436775217)
m.x920 = Var(within=Reals,bounds=(None,None),initialize=2.42949831877611)
m.x921 = Var(within=Reals,bounds=(None,None),initialize=2.45044226980004)
m.x922 = Var(within=Reals,bounds=(None,None),initialize=2.47138622082397)
m.x923 = Var(within=Reals,bounds=(None,None),initialize=2.4923301718479)
m.x924 = Var(within=Reals,bounds=(None,None),initialize=2.51327412287183)
m.x925 = Var(within=Reals,bounds=(None,None),initialize=2.53421807389577)
m.x926 = Var(within=Reals,bounds=(None,None),initialize=2.5551620249197)
m.x927 = Var(within=Reals,bounds=(None,None),initialize=2.57610597594363)
m.x928 = Var(within=Reals,bounds=(None,None),initialize=2.59704992696756)
m.x929 = Var(within=Reals,bounds=(None,None),initialize=2.61799387799149)
m.x930 = Var(within=Reals,bounds=(None,None),initialize=2.63893782901543)
m.x931 = Var(within=Reals,bounds=(None,None),initialize=2.65988178003936)
m.x932 = Var(within=Reals,bounds=(None,None),initialize=2.68082573106329)
m.x933 = Var(within=Reals,bounds=(None,None),initialize=2.70176968208722)
m.x934 = Var(within=Reals,bounds=(None,None),initialize=2.72271363311115)
m.x935 = Var(within=Reals,bounds=(None,None),initialize=2.74365758413509)
m.x936 = Var(within=Reals,bounds=(None,None),initialize=2.76460153515902)
m.x937 = Var(within=Reals,bounds=(None,None),initialize=2.78554548618295)
m.x938 = Var(within=Reals,bounds=(None,None),initialize=2.80648943720688)
m.x939 = Var(within=Reals,bounds=(None,None),initialize=2.82743338823081)
m.x940 = Var(within=Reals,bounds=(None,None),initialize=2.84837733925475)
m.x941 = Var(within=Reals,bounds=(None,None),initialize=2.86932129027868)
m.x942 = Var(within=Reals,bounds=(None,None),initialize=2.89026524130261)
m.x943 = Var(within=Reals,bounds=(None,None),initialize=2.91120919232654)
m.x944 = Var(within=Reals,bounds=(None,None),initialize=2.93215314335047)
m.x945 = Var(within=Reals,bounds=(None,None),initialize=2.95309709437441)
m.x946 = Var(within=Reals,bounds=(None,None),initialize=2.97404104539834)
m.x947 = Var(within=Reals,bounds=(None,None),initialize=2.99498499642227)
m.x948 = Var(within=Reals,bounds=(None,None),initialize=3.0159289474462)
m.x949 = Var(within=Reals,bounds=(None,None),initialize=3.03687289847013)
m.x950 = Var(within=Reals,bounds=(None,None),initialize=3.05781684949407)
m.x951 = Var(within=Reals,bounds=(None,None),initialize=3.078760800518)
m.x952 = Var(within=Reals,bounds=(None,None),initialize=3.09970475154193)
m.x953 = Var(within=Reals,bounds=(None,None),initialize=3.12064870256586)
m.x954 = Var(within=Reals,bounds=(None,None),initialize=3.14159265358979)
m.x955 = Var(within=Reals,bounds=(None,None),initialize=3.16253660461372)
m.x956 = Var(within=Reals,bounds=(None,None),initialize=3.18348055563766)
m.x957 = Var(within=Reals,bounds=(None,None),initialize=3.20442450666159)
m.x958 = Var(within=Reals,bounds=(None,None),initialize=3.22536845768552)
m.x959 = Var(within=Reals,bounds=(None,None),initialize=3.24631240870945)
m.x960 = Var(within=Reals,bounds=(None,None),initialize=3.26725635973338)
m.x961 = Var(within=Reals,bounds=(None,None),initialize=3.28820031075732)
m.x962 = Var(within=Reals,bounds=(None,None),initialize=3.30914426178125)
m.x963 = Var(within=Reals,bounds=(None,None),initialize=3.33008821280518)
m.x964 = Var(within=Reals,bounds=(None,None),initialize=3.35103216382911)
m.x965 = Var(within=Reals,bounds=(None,None),initialize=3.37197611485304)
m.x966 = Var(within=Reals,bounds=(None,None),initialize=3.39292006587698)
m.x967 = Var(within=Reals,bounds=(None,None),initialize=3.41386401690091)
m.x968 = Var(within=Reals,bounds=(None,None),initialize=3.43480796792484)
m.x969 = Var(within=Reals,bounds=(None,None),initialize=3.45575191894877)
m.x970 = Var(within=Reals,bounds=(None,None),initialize=3.4766958699727)
m.x971 = Var(within=Reals,bounds=(None,None),initialize=3.49763982099664)
m.x972 = Var(within=Reals,bounds=(None,None),initialize=3.51858377202057)
m.x973 = Var(within=Reals,bounds=(None,None),initialize=3.5395277230445)
m.x974 = Var(within=Reals,bounds=(None,None),initialize=3.56047167406843)
m.x975 = Var(within=Reals,bounds=(None,None),initialize=3.58141562509236)
m.x976 = Var(within=Reals,bounds=(None,None),initialize=3.6023595761163)
m.x977 = Var(within=Reals,bounds=(None,None),initialize=3.62330352714023)
m.x978 = Var(within=Reals,bounds=(None,None),initialize=3.64424747816416)
m.x979 = Var(within=Reals,bounds=(None,None),initialize=3.66519142918809)
m.x980 = Var(within=Reals,bounds=(None,None),initialize=3.68613538021202)
m.x981 = Var(within=Reals,bounds=(None,None),initialize=3.70707933123596)
m.x982 = Var(within=Reals,bounds=(None,None),initialize=3.72802328225989)
m.x983 = Var(within=Reals,bounds=(None,None),initialize=3.74896723328382)
m.x984 = Var(within=Reals,bounds=(None,None),initialize=3.76991118430775)
m.x985 = Var(within=Reals,bounds=(None,None),initialize=3.79085513533168)
m.x986 = Var(within=Reals,bounds=(None,None),initialize=3.81179908635562)
m.x987 = Var(within=Reals,bounds=(None,None),initialize=3.83274303737955)
m.x988 = Var(within=Reals,bounds=(None,None),initialize=3.85368698840348)
m.x989 = Var(within=Reals,bounds=(None,None),initialize=3.87463093942741)
m.x990 = Var(within=Reals,bounds=(None,None),initialize=3.89557489045134)
m.x991 = Var(within=Reals,bounds=(None,None),initialize=3.91651884147528)
m.x992 = Var(within=Reals,bounds=(None,None),initialize=3.93746279249921)
m.x993 = Var(within=Reals,bounds=(None,None),initialize=3.95840674352314)
m.x994 = Var(within=Reals,bounds=(None,None),initialize=3.97935069454707)
m.x995 = Var(within=Reals,bounds=(None,None),initialize=4.000294645571)
m.x996 = Var(within=Reals,bounds=(None,None),initialize=4.02123859659493)
m.x997 = Var(within=Reals,bounds=(None,None),initialize=4.04218254761887)
m.x998 = Var(within=Reals,bounds=(None,None),initialize=4.0631264986428)
m.x999 = Var(within=Reals,bounds=(None,None),initialize=4.08407044966673)
m.x1000 = Var(within=Reals,bounds=(None,None),initialize=4.10501440069066)
m.x1001 = Var(within=Reals,bounds=(None,None),initialize=4.1259583517146)
m.x1002 = Var(within=Reals,bounds=(None,None),initialize=4.14690230273853)
m.x1003 = Var(within=Reals,bounds=(None,None),initialize=4.16784625376246)
m.x1004 = Var(within=Reals,bounds=(None,None),initialize=4.18879020478639)
m.x1005 = Var(within=Reals,bounds=(0,0),initialize=0)
m.x1006 = Var(within=Reals,bounds=(0,0),initialize=0)
m.x1007 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1008 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1009 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1010 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1011 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1012 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1013 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1014 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1015 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1016 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1017 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1018 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1019 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1020 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1021 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1022 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1023 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1024 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1025 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1026 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1027 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1028 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1029 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1030 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1031 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1032 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1033 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1034 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1035 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1036 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1037 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1038 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1039 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1040 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1041 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1042 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1043 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1044 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1045 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1046 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1047 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1048 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1049 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1050 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1051 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1052 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1053 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1054 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1055 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1056 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1057 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1058 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1059 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1060 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1061 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1062 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1063 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1064 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1065 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1066 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1067 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1068 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1069 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1070 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1071 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1072 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1073 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1074 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1075 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1076 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1077 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1078 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1079 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1080 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1081 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1082 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1083 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1084 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1085 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1086 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1087 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1088 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1089 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1090 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1091 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1092 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1093 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1094 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1095 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1096 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1097 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1098 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1099 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1100 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1101 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1102 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1103 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1104 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1105 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1106 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1107 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1108 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1109 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1110 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1111 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1112 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1113 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1114 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1115 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1116 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1117 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1118 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1119 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1120 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1121 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1122 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1123 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1124 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1125 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1126 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1127 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1128 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1129 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1130 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1131 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1132 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1133 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1134 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1135 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1136 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1137 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1138 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1139 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1140 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1141 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1142 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1143 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1144 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1145 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1146 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1147 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1148 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1149 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1150 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1151 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1152 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1153 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1154 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1155 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1156 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1157 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1158 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1159 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1160 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1161 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1162 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1163 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1164 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1165 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1166 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1167 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1168 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1169 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1170 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1171 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1172 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1173 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1174 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1175 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1176 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1177 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1178 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1179 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1180 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1181 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1182 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1183 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1184 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1185 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1186 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1187 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1188 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1189 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1190 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1191 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1192 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1193 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1194 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1195 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1196 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1197 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1198 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1199 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1200 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1201 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1202 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1203 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1204 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1205 = Var(within=Reals,bounds=(None,None),initialize=0)
m.x1206 = Var(within=Reals,bounds=(0,0),initialize=0)
m.x1207 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1208 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1209 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1210 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1211 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1212 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1213 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1214 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1215 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1216 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1217 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1218 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1219 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1220 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1221 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1222 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1223 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1224 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1225 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1226 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1227 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1228 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1229 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1230 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1231 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1232 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1233 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1234 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1235 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1236 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1237 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1238 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1239 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1240 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1241 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1242 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1243 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1244 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1245 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1246 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1247 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1248 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1249 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1250 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1251 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1252 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1253 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1254 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1255 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1256 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1257 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1258 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1259 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1260 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1261 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1262 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1263 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1264 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1265 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1266 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1267 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1268 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1269 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1270 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1271 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1272 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1273 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1274 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1275 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1276 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1277 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1278 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1279 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1280 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1281 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1282 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1283 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1284 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1285 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1286 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1287 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1288 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1289 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1290 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1291 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1292 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1293 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1294 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1295 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1296 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1297 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1298 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1299 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1300 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1301 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1302 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1303 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1304 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1305 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1306 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1307 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1308 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1309 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1310 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1311 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1312 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1313 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1314 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1315 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1316 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1317 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1318 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1319 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1320 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1321 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1322 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1323 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1324 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1325 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1326 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1327 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1328 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1329 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1330 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1331 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1332 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1333 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1334 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1335 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1336 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1337 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1338 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1339 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1340 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1341 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1342 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1343 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1344 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1345 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1346 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1347 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1348 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1349 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1350 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1351 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1352 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1353 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1354 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1355 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1356 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1357 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1358 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1359 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1360 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1361 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1362 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1363 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1364 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1365 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1366 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1367 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1368 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1369 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1370 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1371 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1372 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1373 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1374 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1375 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1376 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1377 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1378 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1379 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1380 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1381 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1382 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1383 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1384 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1385 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1386 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1387 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1388 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1389 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1390 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1391 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1392 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1393 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1394 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1395 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1396 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1397 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1398 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1399 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1400 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1401 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1402 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1403 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1404 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1405 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1406 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1407 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1408 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1409 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1410 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1411 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1412 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1413 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1414 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1415 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1416 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1417 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1418 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1419 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1420 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1421 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1422 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1423 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1424 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1425 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1426 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1427 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1428 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1429 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1430 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1431 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1432 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1433 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1434 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1435 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1436 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1437 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1438 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1439 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1440 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1441 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1442 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1443 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1444 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1445 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1446 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1447 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1448 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1449 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1450 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1451 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1452 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1453 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1454 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1455 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1456 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1457 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1458 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1459 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1460 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1461 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1462 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1463 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1464 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1465 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1466 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1467 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1468 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1469 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1470 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1471 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1472 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1473 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1474 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1475 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1476 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1477 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1478 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1479 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1480 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1481 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1482 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1483 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1484 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1485 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1486 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1487 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1488 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1489 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1490 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1491 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1492 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1493 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1494 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1495 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1496 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1497 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1498 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1499 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1500 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1501 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1502 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1503 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1504 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1505 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1506 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1507 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1508 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1509 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1510 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1511 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1512 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1513 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1514 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1515 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1516 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1517 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1518 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1519 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1520 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1521 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1522 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1523 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1524 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1525 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1526 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1527 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1528 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1529 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1530 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1531 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1532 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1533 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1534 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1535 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1536 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1537 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1538 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1539 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1540 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1541 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1542 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1543 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1544 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1545 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1546 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1547 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1548 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1549 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1550 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1551 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1552 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1553 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1554 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1555 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1556 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1557 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1558 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1559 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1560 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1561 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1562 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1563 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1564 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1565 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1566 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1567 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1568 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1569 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1570 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1571 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1572 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1573 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1574 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1575 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1576 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1577 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1578 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1579 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1580 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1581 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1582 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1583 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1584 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1585 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1586 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1587 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1588 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1589 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1590 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1591 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1592 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1593 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1594 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1595 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1596 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1597 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1598 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1599 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1600 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1601 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1602 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1603 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1604 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1605 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1606 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1607 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1608 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1609 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1610 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1611 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1612 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1613 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1614 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1615 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1616 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1617 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1618 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1619 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1620 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1621 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1622 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1623 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1624 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1625 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1626 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1627 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1628 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1629 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1630 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1631 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1632 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1633 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1634 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1635 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1636 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1637 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1638 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1639 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1640 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1641 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1642 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1643 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1644 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1645 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1646 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1647 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1648 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1649 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1650 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1651 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1652 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1653 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1654 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1655 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1656 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1657 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1658 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1659 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1660 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1661 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1662 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1663 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1664 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1665 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1666 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1667 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1668 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1669 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1670 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1671 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1672 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1673 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1674 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1675 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1676 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1677 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1678 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1679 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1680 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1681 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1682 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1683 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1684 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1685 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1686 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1687 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1688 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1689 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1690 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1691 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1692 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1693 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1694 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1695 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1696 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1697 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1698 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1699 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1700 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1701 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1702 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1703 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1704 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1705 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1706 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1707 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1708 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1709 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1710 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1711 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1712 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1713 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1714 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1715 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1716 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1717 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1718 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1719 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1720 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1721 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1722 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1723 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1724 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1725 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1726 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1727 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1728 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1729 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1730 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1731 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1732 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1733 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1734 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1735 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1736 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1737 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1738 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1739 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1740 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1741 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1742 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1743 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1744 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1745 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1746 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1747 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1748 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1749 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1750 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1751 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1752 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1753 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1754 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1755 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1756 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1757 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1758 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1759 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1760 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1761 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1762 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1763 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1764 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1765 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1766 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1767 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1768 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1769 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1770 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1771 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1772 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1773 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1774 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1775 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1776 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1777 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1778 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1779 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1780 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1781 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1782 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1783 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1784 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1785 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1786 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1787 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1788 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1789 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1790 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1791 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1792 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1793 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1794 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1795 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1796 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1797 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1798 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1799 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1800 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1801 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1802 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1803 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1804 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1805 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1806 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1807 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1808 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1809 = Var(within=Reals,bounds=(-1,1),initialize=0.001)
m.x1810 = Var(within=Reals,bounds=(None,None),initialize=0.005)
m.x1812 = Var(within=Reals,bounds=(15.2083333333333,15.2083333333333),initialize=15.2083333333333)
m.x1813 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1814 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1815 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1816 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1817 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1818 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1819 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1820 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1821 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1822 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1823 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1824 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1825 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1826 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1827 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1828 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1829 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1830 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1831 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1832 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1833 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1834 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1835 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1836 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1837 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1838 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1839 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1840 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1841 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1842 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1843 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1844 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1845 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1846 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1847 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1848 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1849 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1850 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1851 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1852 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1853 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1854 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1855 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1856 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1857 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1858 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1859 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1860 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1861 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1862 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1863 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1864 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1865 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1866 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1867 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1868 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1869 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1870 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1871 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1872 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1873 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1874 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1875 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1876 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1877 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1878 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1879 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1880 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1881 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1882 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1883 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1884 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1885 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1886 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1887 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1888 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1889 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1890 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1891 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1892 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1893 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1894 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1895 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1896 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1897 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1898 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1899 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1900 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1901 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1902 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1903 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1904 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1905 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1906 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1907 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1908 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1909 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1910 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1911 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1912 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1913 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1914 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1915 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1916 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1917 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1918 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1919 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1920 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1921 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1922 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1923 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1924 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1925 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1926 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1927 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1928 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1929 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1930 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1931 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1932 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1933 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1934 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1935 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1936 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1937 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1938 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1939 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1940 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1941 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1942 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1943 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1944 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1945 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1946 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1947 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1948 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1949 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1950 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1951 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1952 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1953 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1954 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1955 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1956 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1957 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1958 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1959 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1960 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1961 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1962 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1963 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1964 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1965 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1966 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1967 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1968 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1969 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1970 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1971 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1972 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1973 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1974 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1975 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1976 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1977 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1978 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1979 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1980 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1981 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1982 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1983 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1984 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1985 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1986 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1987 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1988 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1989 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1990 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1991 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1992 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1993 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1994 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1995 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1996 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1997 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1998 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x1999 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2000 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2001 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2002 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2003 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2004 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2005 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2006 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2007 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2008 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2009 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2010 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2011 = Var(within=Reals,bounds=(0.0001,None),initialize=15.2083333333333)
m.x2012 = Var(within=Reals,bounds=(15.2083333333333,15.2083333333333),initialize=15.2083333333333)
m.x2013 = Var(within=Reals,bounds=(30.4166666666667,30.4166666666667),initialize=30.4166666666667)
m.x2014 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2015 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2016 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2017 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2018 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2019 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2020 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2021 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2022 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2023 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2024 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2025 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2026 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2027 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2028 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2029 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2030 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2031 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2032 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2033 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2034 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2035 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2036 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2037 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2038 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2039 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2040 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2041 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2042 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2043 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2044 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2045 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2046 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2047 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2048 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2049 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2050 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2051 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2052 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2053 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2054 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2055 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2056 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2057 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2058 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2059 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2060 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2061 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2062 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2063 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2064 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2065 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2066 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2067 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2068 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2069 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2070 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2071 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2072 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2073 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2074 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2075 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2076 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2077 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2078 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2079 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2080 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2081 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2082 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2083 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2084 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2085 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2086 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2087 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2088 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2089 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2090 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2091 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2092 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2093 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2094 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2095 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2096 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2097 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2098 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2099 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2100 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2101 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2102 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2103 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2104 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2105 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2106 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2107 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2108 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2109 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2110 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2111 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2112 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2113 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2114 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2115 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2116 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2117 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2118 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2119 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2120 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2121 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2122 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2123 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2124 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2125 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2126 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2127 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2128 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2129 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2130 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2131 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2132 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2133 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2134 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2135 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2136 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2137 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2138 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2139 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2140 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2141 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2142 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2143 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2144 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2145 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2146 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2147 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2148 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2149 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2150 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2151 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2152 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2153 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2154 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2155 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2156 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2157 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2158 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2159 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2160 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2161 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2162 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2163 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2164 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2165 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2166 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2167 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2168 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2169 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2170 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2171 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2172 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2173 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2174 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2175 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2176 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2177 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2178 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2179 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2180 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2181 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2182 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2183 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2184 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2185 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2186 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2187 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2188 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2189 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2190 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2191 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2192 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2193 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2194 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2195 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2196 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2197 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2198 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2199 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2200 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2201 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2202 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2203 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2204 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2205 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2206 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2207 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2208 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2209 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2210 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2211 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2212 = Var(within=Reals,bounds=(0.0001,None),initialize=30.4166666666667)
m.x2213 = Var(within=Reals,bounds=(30.4166666666667,30.4166666666667),initialize=30.4166666666667)
m.obj = Objective(expr= 200*m.x1810, sense=minimize)
m.c2 = Constraint(expr=-0.5*m.x1810*(m.x604 + m.x605) - m.x1 + m.x2 == 0)
m.c3 = Constraint(expr=-0.5*m.x1810*(m.x605 + m.x606) - m.x2 + m.x3 == 0)
m.c4 = Constraint(expr=-0.5*m.x1810*(m.x606 + m.x607) - m.x3 + m.x4 == 0)
m.c5 = Constraint(expr=-0.5*m.x1810*(m.x607 + m.x608) - m.x4 + m.x5 == 0)
m.c6 = Constraint(expr=-0.5*m.x1810*(m.x608 + m.x609) - m.x5 + m.x6 == 0)
m.c7 = Constraint(expr=-0.5*m.x1810*(m.x609 + m.x610) - m.x6 + m.x7 == 0)
m.c8 = Constraint(expr=-0.5*m.x1810*(m.x610 + m.x611) - m.x7 + m.x8 == 0)
m.c9 = Constraint(expr=-0.5*m.x1810*(m.x611 + m.x612) - m.x8 + m.x9 == 0)
m.c10 = Constraint(expr=-0.5*m.x1810*(m.x612 + m.x613) - m.x9 + m.x10 == 0)
m.c11 = Constraint(expr=-0.5*m.x1810*(m.x613 + m.x614) - m.x10 + m.x11 == 0)
m.c12 = Constraint(expr=-0.5*m.x1810*(m.x614 + m.x615) - m.x11 + m.x12 == 0)
m.c13 = Constraint(expr=-0.5*m.x1810*(m.x615 + m.x616) - m.x12 + m.x13 == 0)
m.c14 = Constraint(expr=-0.5*m.x1810*(m.x616 + m.x617) - m.x13 + m.x14 == 0)
m.c15 = Constraint(expr=-0.5*m.x1810*(m.x617 + m.x618) - m.x14 + m.x15 == 0)
m.c16 = Constraint(expr=-0.5*m.x1810*(m.x618 + m.x619) - m.x15 + m.x16 == 0)
m.c17 = Constraint(expr=-0.5*m.x1810*(m.x619 + m.x620) - m.x16 + m.x17 == 0)
m.c18 = Constraint(expr=-0.5*m.x1810*(m.x620 + m.x621) - m.x17 + m.x18 == 0)
m.c19 = Constraint(expr=-0.5*m.x1810*(m.x621 + m.x622) - m.x18 + m.x19 == 0)
m.c20 = Constraint(expr=-0.5*m.x1810*(m.x622 + m.x623) - m.x19 + m.x20 == 0)
m.c21 = Constraint(expr=-0.5*m.x1810*(m.x623 + m.x624) - m.x20 + m.x21 == 0)
m.c22 = Constraint(expr=-0.5*m.x1810*(m.x624 + m.x625) - m.x21 + m.x22 == 0)
m.c23 = Constraint(expr=-0.5*m.x1810*(m.x625 + m.x626) - m.x22 + m.x23 == 0)
m.c24 = Constraint(expr=-0.5*m.x1810*(m.x626 + m.x627) - m.x23 + m.x24 == 0)
m.c25 = Constraint(expr=-0.5*m.x1810*(m.x627 + m.x628) - m.x24 + m.x25 == 0)
m.c26 = Constraint(expr=-0.5*m.x1810*(m.x628 + m.x629) - m.x25 + m.x26 == 0)
m.c27 = Constraint(expr=-0.5*m.x1810*(m.x629 + m.x630) - m.x26 + m.x27 == 0)
m.c28 = Constraint(expr=-0.5*m.x1810*(m.x630 + m.x631) - m.x27 + m.x28 == 0)
m.c29 = Constraint(expr=-0.5*m.x1810*(m.x631 + m.x632) - m.x28 + m.x29 == 0)
m.c30 = Constraint(expr=-0.5*m.x1810*(m.x632 + m.x633) - m.x29 + m.x30 == 0)
m.c31 = Constraint(expr=-0.5*m.x1810*(m.x633 + m.x634) - m.x30 + m.x31 == 0)
m.c32 = Constraint(expr=-0.5*m.x1810*(m.x634 + m.x635) - m.x31 + m.x32 == 0)
m.c33 = Constraint(expr=-0.5*m.x1810*(m.x635 + m.x636) - m.x32 + m.x33 == 0)
m.c34 = Constraint(expr=-0.5*m.x1810*(m.x636 + m.x637) - m.x33 + m.x34 == 0)
m.c35 = Constraint(expr=-0.5*m.x1810*(m.x637 + m.x638) - m.x34 + m.x35 == 0)
m.c36 = Constraint(expr=-0.5*m.x1810*(m.x638 + m.x639) - m.x35 + m.x36 == 0)
m.c37 = Constraint(expr=-0.5*m.x1810*(m.x639 + m.x640) - m.x36 + m.x37 == 0)
m.c38 = Constraint(expr=-0.5*m.x1810*(m.x640 + m.x641) - m.x37 + m.x38 == 0)
m.c39 = Constraint(expr=-0.5*m.x1810*(m.x641 + m.x642) - m.x38 + m.x39 == 0)
m.c40 = Constraint(expr=-0.5*m.x1810*(m.x642 + m.x643) - m.x39 + m.x40 == 0)
m.c41 = Constraint(expr=-0.5*m.x1810*(m.x643 + m.x644) - m.x40 + m.x41 == 0)
m.c42 = Constraint(expr=-0.5*m.x1810*(m.x644 + m.x645) - m.x41 + m.x42 == 0)
m.c43 = Constraint(expr=-0.5*m.x1810*(m.x645 + m.x646) - m.x42 + m.x43 == 0)
m.c44 = Constraint(expr=-0.5*m.x1810*(m.x646 + m.x647) - m.x43 + m.x44 == 0)
m.c45 = Constraint(expr=-0.5*m.x1810*(m.x647 + m.x648) - m.x44 + m.x45 == 0)
m.c46 = Constraint(expr=-0.5*m.x1810*(m.x648 + m.x649) - m.x45 + m.x46 == 0)
m.c47 = Constraint(expr=-0.5*m.x1810*(m.x649 + m.x650) - m.x46 + m.x47 == 0)
m.c48 = Constraint(expr=-0.5*m.x1810*(m.x650 + m.x651) - m.x47 + m.x48 == 0)
m.c49 = Constraint(expr=-0.5*m.x1810*(m.x651 + m.x652) - m.x48 + m.x49 == 0)
m.c50 = Constraint(expr=-0.5*m.x1810*(m.x652 + m.x653) - m.x49 + m.x50 == 0)
m.c51 = Constraint(expr=-0.5*m.x1810*(m.x653 + m.x654) - m.x50 + m.x51 == 0)
m.c52 = Constraint(expr=-0.5*m.x1810*(m.x654 + m.x655) - m.x51 + m.x52 == 0)
m.c53 = Constraint(expr=-0.5*m.x1810*(m.x655 + m.x656) - m.x52 + m.x53 == 0)
m.c54 = Constraint(expr=-0.5*m.x1810*(m.x656 + m.x657) - m.x53 + m.x54 == 0)
m.c55 = Constraint(expr=-0.5*m.x1810*(m.x657 + m.x658) - m.x54 + m.x55 == 0)
m.c56 = Constraint(expr=-0.5*m.x1810*(m.x658 + m.x659) - m.x55 + m.x56 == 0)
m.c57 = Constraint(expr=-0.5*m.x1810*(m.x659 + m.x660) - m.x56 + m.x57 == 0)
m.c58 = Constraint(expr=-0.5*m.x1810*(m.x660 + m.x661) - m.x57 + m.x58 == 0)
m.c59 = Constraint(expr=-0.5*m.x1810*(m.x661 + m.x662) - m.x58 + m.x59 == 0)
m.c60 = Constraint(expr=-0.5*m.x1810*(m.x662 + m.x663) - m.x59 + m.x60 == 0)
m.c61 = Constraint(expr=-0.5*m.x1810*(m.x663 + m.x664) - m.x60 + m.x61 == 0)
m.c62 = Constraint(expr=-0.5*m.x1810*(m.x664 + m.x665) - m.x61 + m.x62 == 0)
m.c63 = Constraint(expr=-0.5*m.x1810*(m.x665 + m.x666) - m.x62 + m.x63 == 0)
m.c64 = Constraint(expr=-0.5*m.x1810*(m.x666 + m.x667) - m.x63 + m.x64 == 0)
m.c65 = Constraint(expr=-0.5*m.x1810*(m.x667 + m.x668) - m.x64 + m.x65 == 0)
m.c66 = Constraint(expr=-0.5*m.x1810*(m.x668 + m.x669) - m.x65 + m.x66 == 0)
m.c67 = Constraint(expr=-0.5*m.x1810*(m.x669 + m.x670) - m.x66 + m.x67 == 0)
m.c68 = Constraint(expr=-0.5*m.x1810*(m.x670 + m.x671) - m.x67 + m.x68 == 0)
m.c69 = Constraint(expr=-0.5*m.x1810*(m.x671 + m.x672) - m.x68 + m.x69 == 0)
m.c70 = Constraint(expr=-0.5*m.x1810*(m.x672 + m.x673) - m.x69 + m.x70 == 0)
m.c71 = Constraint(expr=-0.5*m.x1810*(m.x673 + m.x674) - m.x70 + m.x71 == 0)
m.c72 = Constraint(expr=-0.5*m.x1810*(m.x674 + m.x675) - m.x71 + m.x72 == 0)
m.c73 = Constraint(expr=-0.5*m.x1810*(m.x675 + m.x676) - m.x72 + m.x73 == 0)
m.c74 = Constraint(expr=-0.5*m.x1810*(m.x676 + m.x677) - m.x73 + m.x74 == 0)
m.c75 = Constraint(expr=-0.5*m.x1810*(m.x677 + m.x678) - m.x74 + m.x75 == 0)
m.c76 = Constraint(expr=-0.5*m.x1810*(m.x678 + m.x679) - m.x75 + m.x76 == 0)
m.c77 = Constraint(expr=-0.5*m.x1810*(m.x679 + m.x680) - m.x76 + m.x77 == 0)
m.c78 = Constraint(expr=-0.5*m.x1810*(m.x680 + m.x681) - m.x77 + m.x78 == 0)
m.c79 = Constraint(expr=-0.5*m.x1810*(m.x681 + m.x682) - m.x78 + m.x79 == 0)
m.c80 = Constraint(expr=-0.5*m.x1810*(m.x682 + m.x683) - m.x79 + m.x80 == 0)
m.c81 = Constraint(expr=-0.5*m.x1810*(m.x683 + m.x684) - m.x80 + m.x81 == 0)
m.c82 = Constraint(expr=-0.5*m.x1810*(m.x684 + m.x685) - m.x81 + m.x82 == 0)
m.c83 = Constraint(expr=-0.5*m.x1810*(m.x685 + m.x686) - m.x82 + m.x83 == 0)
m.c84 = Constraint(expr=-0.5*m.x1810*(m.x686 + m.x687) - m.x83 + m.x84 == 0)
m.c85 = Constraint(expr=-0.5*m.x1810*(m.x687 + m.x688) - m.x84 + m.x85 == 0)
m.c86 = Constraint(expr=-0.5*m.x1810*(m.x688 + m.x689) - m.x85 + m.x86 == 0)
m.c87 = Constraint(expr=-0.5*m.x1810*(m.x689 + m.x690) - m.x86 + m.x87 == 0)
m.c88 = Constraint(expr=-0.5*m.x1810*(m.x690 + m.x691) - m.x87 + m.x88 == 0)
m.c89 = Constraint(expr=-0.5*m.x1810*(m.x691 + m.x692) - m.x88 + m.x89 == 0)
m.c90 = Constraint(expr=-0.5*m.x1810*(m.x692 + m.x693) - m.x89 + m.x90 == 0)
m.c91 = Constraint(expr=-0.5*m.x1810*(m.x693 + m.x694) - m.x90 + m.x91 == 0)
m.c92 = Constraint(expr=-0.5*m.x1810*(m.x694 + m.x695) - m.x91 + m.x92 == 0)
m.c93 = Constraint(expr=-0.5*m.x1810*(m.x695 + m.x696) - m.x92 + m.x93 == 0)
m.c94 = Constraint(expr=-0.5*m.x1810*(m.x696 + m.x697) - m.x93 + m.x94 == 0)
m.c95 = Constraint(expr=-0.5*m.x1810*(m.x697 + m.x698) - m.x94 + m.x95 == 0)
m.c96 = Constraint(expr=-0.5*m.x1810*(m.x698 + m.x699) - m.x95 + m.x96 == 0)
m.c97 = Constraint(expr=-0.5*m.x1810*(m.x699 + m.x700) - m.x96 + m.x97 == 0)
m.c98 = Constraint(expr=-0.5*m.x1810*(m.x700 + m.x701) - m.x97 + m.x98 == 0)
m.c99 = Constraint(expr=-0.5*m.x1810*(m.x701 + m.x702) - m.x98 + m.x99 == 0)
m.c100 = Constraint(expr=-0.5*m.x1810*(m.x702 + m.x703) - m.x99 + m.x100 == 0)
m.c101 = Constraint(expr=-0.5*m.x1810*(m.x703 + m.x704) - m.x100 + m.x101 == 0)
m.c102 = Constraint(expr=-0.5*m.x1810*(m.x704 + m.x705) - m.x101 + m.x102 == 0)
m.c103 = Constraint(expr=-0.5*m.x1810*(m.x705 + m.x706) - m.x102 + m.x103 == 0)
m.c104 = Constraint(expr=-0.5*m.x1810*(m.x706 + m.x707) - m.x103 + m.x104 == 0)
m.c105 = Constraint(expr=-0.5*m.x1810*(m.x707 + m.x708) - m.x104 + m.x105 == 0)
m.c106 = Constraint(expr=-0.5*m.x1810*(m.x708 + m.x709) - m.x105 + m.x106 == 0)
m.c107 = Constraint(expr=-0.5*m.x1810*(m.x709 + m.x710) - m.x106 + m.x107 == 0)
m.c108 = Constraint(expr=-0.5*m.x1810*(m.x710 + m.x711) - m.x107 + m.x108 == 0)
m.c109 = Constraint(expr=-0.5*m.x1810*(m.x711 + m.x712) - m.x108 + m.x109 == 0)
m.c110 = Constraint(expr=-0.5*m.x1810*(m.x712 + m.x713) - m.x109 + m.x110 == 0)
m.c111 = Constraint(expr=-0.5*m.x1810*(m.x713 + m.x714) - m.x110 + m.x111 == 0)
m.c112 = Constraint(expr=-0.5*m.x1810*(m.x714 + m.x715) - m.x111 + m.x112 == 0)
m.c113 = Constraint(expr=-0.5*m.x1810*(m.x715 + m.x716) - m.x112 + m.x113 == 0)
m.c114 = Constraint(expr=-0.5*m.x1810*(m.x716 + m.x717) - m.x113 + m.x114 == 0)
m.c115 = Constraint(expr=-0.5*m.x1810*(m.x717 + m.x718) - m.x114 + m.x115 == 0)
m.c116 = Constraint(expr=-0.5*m.x1810*(m.x718 + m.x719) - m.x115 + m.x116 == 0)
m.c117 = Constraint(expr=-0.5*m.x1810*(m.x719 + m.x720) - m.x116 + m.x117 == 0)
m.c118 = Constraint(expr=-0.5*m.x1810*(m.x720 + m.x721) - m.x117 + m.x118 == 0)
m.c119 = Constraint(expr=-0.5*m.x1810*(m.x721 + m.x722) - m.x118 + m.x119 == 0)
m.c120 = Constraint(expr=-0.5*m.x1810*(m.x722 + m.x723) - m.x119 + m.x120 == 0)
m.c121 = Constraint(expr=-0.5*m.x1810*(m.x723 + m.x724) - m.x120 + m.x121 == 0)
m.c122 = Constraint(expr=-0.5*m.x1810*(m.x724 + m.x725) - m.x121 + m.x122 == 0)
m.c123 = Constraint(expr=-0.5*m.x1810*(m.x725 + m.x726) - m.x122 + m.x123 == 0)
m.c124 = Constraint(expr=-0.5*m.x1810*(m.x726 + m.x727) - m.x123 + m.x124 == 0)
m.c125 = Constraint(expr=-0.5*m.x1810*(m.x727 + m.x728) - m.x124 + m.x125 == 0)
m.c126 = Constraint(expr=-0.5*m.x1810*(m.x728 + m.x729) - m.x125 + m.x126 == 0)
m.c127 = Constraint(expr=-0.5*m.x1810*(m.x729 + m.x730) - m.x126 + m.x127 == 0)
m.c128 = Constraint(expr=-0.5*m.x1810*(m.x730 + m.x731) - m.x127 + m.x128 == 0)
m.c129 = Constraint(expr=-0.5*m.x1810*(m.x731 + m.x732) - m.x128 + m.x129 == 0)
m.c130 = Constraint(expr=-0.5*m.x1810*(m.x732 + m.x733) - m.x129 + m.x130 == 0)
m.c131 = Constraint(expr=-0.5*m.x1810*(m.x733 + m.x734) - m.x130 + m.x131 == 0)
m.c132 = Constraint(expr=-0.5*m.x1810*(m.x734 + m.x735) - m.x131 + m.x132 == 0)
m.c133 = Constraint(expr=-0.5*m.x1810*(m.x735 + m.x736) - m.x132 + m.x133 == 0)
m.c134 = Constraint(expr=-0.5*m.x1810*(m.x736 + m.x737) - m.x133 + m.x134 == 0)
m.c135 = Constraint(expr=-0.5*m.x1810*(m.x737 + m.x738) - m.x134 + m.x135 == 0)
m.c136 = Constraint(expr=-0.5*m.x1810*(m.x738 + m.x739) - m.x135 + m.x136 == 0)
m.c137 = Constraint(expr=-0.5*m.x1810*(m.x739 + m.x740) - m.x136 + m.x137 == 0)
m.c138 = Constraint(expr=-0.5*m.x1810*(m.x740 + m.x741) - m.x137 + m.x138 == 0)
m.c139 = Constraint(expr=-0.5*m.x1810*(m.x741 + m.x742) - m.x138 + m.x139 == 0)
m.c140 = Constraint(expr=-0.5*m.x1810*(m.x742 + m.x743) - m.x139 + m.x140 == 0)
m.c141 = Constraint(expr=-0.5*m.x1810*(m.x743 + m.x744) - m.x140 + m.x141 == 0)
m.c142 = Constraint(expr=-0.5*m.x1810*(m.x744 + m.x745) - m.x141 + m.x142 == 0)
m.c143 = Constraint(expr=-0.5*m.x1810*(m.x745 + m.x746) - m.x142 + m.x143 == 0)
m.c144 = Constraint(expr=-0.5*m.x1810*(m.x746 + m.x747) - m.x143 + m.x144 == 0)
m.c145 = Constraint(expr=-0.5*m.x1810*(m.x747 + m.x748) - m.x144 + m.x145 == 0)
m.c146 = Constraint(expr=-0.5*m.x1810*(m.x748 + m.x749) - m.x145 + m.x146 == 0)
m.c147 = Constraint(expr=-0.5*m.x1810*(m.x749 + m.x750) - m.x146 + m.x147 == 0)
m.c148 = Constraint(expr=-0.5*m.x1810*(m.x750 + m.x751) - m.x147 + m.x148 == 0)
m.c149 = Constraint(expr=-0.5*m.x1810*(m.x751 + m.x752) - m.x148 + m.x149 == 0)
m.c150 = Constraint(expr=-0.5*m.x1810*(m.x752 + m.x753) - m.x149 + m.x150 == 0)
m.c151 = Constraint(expr=-0.5*m.x1810*(m.x753 + m.x754) - m.x150 + m.x151 == 0)
m.c152 = Constraint(expr=-0.5*m.x1810*(m.x754 + m.x755) - m.x151 + m.x152 == 0)
m.c153 = Constraint(expr=-0.5*m.x1810*(m.x755 + m.x756) - m.x152 + m.x153 == 0)
m.c154 = Constraint(expr=-0.5*m.x1810*(m.x756 + m.x757) - m.x153 + m.x154 == 0)
m.c155 = Constraint(expr=-0.5*m.x1810*(m.x757 + m.x758) - m.x154 + m.x155 == 0)
m.c156 = Constraint(expr=-0.5*m.x1810*(m.x758 + m.x759) - m.x155 + m.x156 == 0)
m.c157 = Constraint(expr=-0.5*m.x1810*(m.x759 + m.x760) - m.x156 + m.x157 == 0)
m.c158 = Constraint(expr=-0.5*m.x1810*(m.x760 + m.x761) - m.x157 + m.x158 == 0)
m.c159 = Constraint(expr=-0.5*m.x1810*(m.x761 + m.x762) - m.x158 + m.x159 == 0)
m.c160 = Constraint(expr=-0.5*m.x1810*(m.x762 + m.x763) - m.x159 + m.x160 == 0)
m.c161 = Constraint(expr=-0.5*m.x1810*(m.x763 + m.x764) - m.x160 + m.x161 == 0)
m.c162 = Constraint(expr=-0.5*m.x1810*(m.x764 + m.x765) - m.x161 + m.x162 == 0)
m.c163 = Constraint(expr=-0.5*m.x1810*(m.x765 + m.x766) - m.x162 + m.x163 == 0)
m.c164 = Constraint(expr=-0.5*m.x1810*(m.x766 + m.x767) - m.x163 + m.x164 == 0)
m.c165 = Constraint(expr=-0.5*m.x1810*(m.x767 + m.x768) - m.x164 + m.x165 == 0)
m.c166 = Constraint(expr=-0.5*m.x1810*(m.x768 + m.x769) - m.x165 + m.x166 == 0)
m.c167 = Constraint(expr=-0.5*m.x1810*(m.x769 + m.x770) - m.x166 + m.x167 == 0)
m.c168 = Constraint(expr=-0.5*m.x1810*(m.x770 + m.x771) - m.x167 + m.x168 == 0)
m.c169 = Constraint(expr=-0.5*m.x1810*(m.x771 + m.x772) - m.x168 + m.x169 == 0)
m.c170 = Constraint(expr=-0.5*m.x1810*(m.x772 + m.x773) - m.x169 + m.x170 == 0)
m.c171 = Constraint(expr=-0.5*m.x1810*(m.x773 + m.x774) - m.x170 + m.x171 == 0)
m.c172 = Constraint(expr=-0.5*m.x1810*(m.x774 + m.x775) - m.x171 + m.x172 == 0)
m.c173 = Constraint(expr=-0.5*m.x1810*(m.x775 + m.x776) - m.x172 + m.x173 == 0)
m.c174 = Constraint(expr=-0.5*m.x1810*(m.x776 + m.x777) - m.x173 + m.x174 == 0)
m.c175 = Constraint(expr=-0.5*m.x1810*(m.x777 + m.x778) - m.x174 + m.x175 == 0)
m.c176 = Constraint(expr=-0.5*m.x1810*(m.x778 + m.x779) - m.x175 + m.x176 == 0)
m.c177 = Constraint(expr=-0.5*m.x1810*(m.x779 + m.x780) - m.x176 + m.x177 == 0)
m.c178 = Constraint(expr=-0.5*m.x1810*(m.x780 + m.x781) - m.x177 + m.x178 == 0)
m.c179 = Constraint(expr=-0.5*m.x1810*(m.x781 + m.x782) - m.x178 + m.x179 == 0)
m.c180 = Constraint(expr=-0.5*m.x1810*(m.x782 + m.x783) - m.x179 + m.x180 == 0)
m.c181 = Constraint(expr=-0.5*m.x1810*(m.x783 + m.x784) - m.x180 + m.x181 == 0)
m.c182 = Constraint(expr=-0.5*m.x1810*(m.x784 + m.x785) - m.x181 + m.x182 == 0)
m.c183 = Constraint(expr=-0.5*m.x1810*(m.x785 + m.x786) - m.x182 + m.x183 == 0)
m.c184 = Constraint(expr=-0.5*m.x1810*(m.x786 + m.x787) - m.x183 + m.x184 == 0)
m.c185 = Constraint(expr=-0.5*m.x1810*(m.x787 + m.x788) - m.x184 + m.x185 == 0)
m.c186 = Constraint(expr=-0.5*m.x1810*(m.x788 + m.x789) - m.x185 + m.x186 == 0)
m.c187 = Constraint(expr=-0.5*m.x1810*(m.x789 + m.x790) - m.x186 + m.x187 == 0)
m.c188 = Constraint(expr=-0.5*m.x1810*(m.x790 + m.x791) - m.x187 + m.x188 == 0)
m.c189 = Constraint(expr=-0.5*m.x1810*(m.x791 + m.x792) - m.x188 + m.x189 == 0)
m.c190 = Constraint(expr=-0.5*m.x1810*(m.x792 + m.x793) - m.x189 + m.x190 == 0)
m.c191 = Constraint(expr=-0.5*m.x1810*(m.x793 + m.x794) - m.x190 + m.x191 == 0)
m.c192 = Constraint(expr=-0.5*m.x1810*(m.x794 + m.x795) - m.x191 + m.x192 == 0)
m.c193 = Constraint(expr=-0.5*m.x1810*(m.x795 + m.x796) - m.x192 + m.x193 == 0)
m.c194 = Constraint(expr=-0.5*m.x1810*(m.x796 + m.x797) - m.x193 + m.x194 == 0)
m.c195 = Constraint(expr=-0.5*m.x1810*(m.x797 + m.x798) - m.x194 + m.x195 == 0)
m.c196 = Constraint(expr=-0.5*m.x1810*(m.x798 + m.x799) - m.x195 + m.x196 == 0)
m.c197 = Constraint(expr=-0.5*m.x1810*(m.x799 + m.x800) - m.x196 + m.x197 == 0)
m.c198 = Constraint(expr=-0.5*m.x1810*(m.x800 + m.x801) - m.x197 + m.x198 == 0)
m.c199 = Constraint(expr=-0.5*m.x1810*(m.x801 + m.x802) - m.x198 + m.x199 == 0)
m.c200 = Constraint(expr=-0.5*m.x1810*(m.x802 + m.x803) - m.x199 + m.x200 == 0)
m.c201 = Constraint(expr=-0.5*m.x1810*(m.x803 + m.x804) - m.x200 + m.x201 == 0)
m.c202 = Constraint(expr=-0.5*m.x1810*(m.x805 + m.x806) - m.x202 + m.x203 == 0)
m.c203 = Constraint(expr=-0.5*m.x1810*(m.x806 + m.x807) - m.x203 + m.x204 == 0)
m.c204 = Constraint(expr=-0.5*m.x1810*(m.x807 + m.x808) - m.x204 + m.x205 == 0)
m.c205 = Constraint(expr=-0.5*m.x1810*(m.x808 + m.x809) - m.x205 + m.x206 == 0)
m.c206 = Constraint(expr=-0.5*m.x1810*(m.x809 + m.x810) - m.x206 + m.x207 == 0)
m.c207 = Constraint(expr=-0.5*m.x1810*(m.x810 + m.x811) - m.x207 + m.x208 == 0)
m.c208 = Constraint(expr=-0.5*m.x1810*(m.x811 + m.x812) - m.x208 + m.x209 == 0)
m.c209 = Constraint(expr=-0.5*m.x1810*(m.x812 + m.x813) - m.x209 + m.x210 == 0)
m.c210 = Constraint(expr=-0.5*m.x1810*(m.x813 + m.x814) - m.x210 + m.x211 == 0)
m.c211 = Constraint(expr=-0.5*m.x1810*(m.x814 + m.x815) - m.x211 + m.x212 == 0)
m.c212 = Constraint(expr=-0.5*m.x1810*(m.x815 + m.x816) - m.x212 + m.x213 == 0)
m.c213 = Constraint(expr=-0.5*m.x1810*(m.x816 + m.x817) - m.x213 + m.x214 == 0)
m.c214 = Constraint(expr=-0.5*m.x1810*(m.x817 + m.x818) - m.x214 + m.x215 == 0)
m.c215 = Constraint(expr=-0.5*m.x1810*(m.x818 + m.x819) - m.x215 + m.x216 == 0)
m.c216 = Constraint(expr=-0.5*m.x1810*(m.x819 + m.x820) - m.x216 + m.x217 == 0)
m.c217 = Constraint(expr=-0.5*m.x1810*(m.x820 + m.x821) - m.x217 + m.x218 == 0)
m.c218 = Constraint(expr=-0.5*m.x1810*(m.x821 + m.x822) - m.x218 + m.x219 == 0)
m.c219 = Constraint(expr=-0.5*m.x1810*(m.x822 + m.x823) - m.x219 + m.x220 == 0)
m.c220 = Constraint(expr=-0.5*m.x1810*(m.x823 + m.x824) - m.x220 + m.x221 == 0)
m.c221 = Constraint(expr=-0.5*m.x1810*(m.x824 + m.x825) - m.x221 + m.x222 == 0)
m.c222 = Constraint(expr=-0.5*m.x1810*(m.x825 + m.x826) - m.x222 + m.x223 == 0)
m.c223 = Constraint(expr=-0.5*m.x1810*(m.x826 + m.x827) - m.x223 + m.x224 == 0)
m.c224 = Constraint(expr=-0.5*m.x1810*(m.x827 + m.x828) - m.x224 + m.x225 == 0)
m.c225 = Constraint(expr=-0.5*m.x1810*(m.x828 + m.x829) - m.x225 + m.x226 == 0)
m.c226 = Constraint(expr=-0.5*m.x1810*(m.x829 + m.x830) - m.x226 + m.x227 == 0)
m.c227 = Constraint(expr=-0.5*m.x1810*(m.x830 + m.x831) - m.x227 + m.x228 == 0)
m.c228 = Constraint(expr=-0.5*m.x1810*(m.x831 + m.x832) - m.x228 + m.x229 == 0)
m.c229 = Constraint(expr=-0.5*m.x1810*(m.x832 + m.x833) - m.x229 + m.x230 == 0)
m.c230 = Constraint(expr=-0.5*m.x1810*(m.x833 + m.x834) - m.x230 + m.x231 == 0)
m.c231 = Constraint(expr=-0.5*m.x1810*(m.x834 + m.x835) - m.x231 + m.x232 == 0)
m.c232 = Constraint(expr=-0.5*m.x1810*(m.x835 + m.x836) - m.x232 + m.x233 == 0)
m.c233 = Constraint(expr=-0.5*m.x1810*(m.x836 + m.x837) - m.x233 + m.x234 == 0)
m.c234 = Constraint(expr=-0.5*m.x1810*(m.x837 + m.x838) - m.x234 + m.x235 == 0)
m.c235 = Constraint(expr=-0.5*m.x1810*(m.x838 + m.x839) - m.x235 + m.x236 == 0)
m.c236 = Constraint(expr=-0.5*m.x1810*(m.x839 + m.x840) - m.x236 + m.x237 == 0)
m.c237 = Constraint(expr=-0.5*m.x1810*(m.x840 + m.x841) - m.x237 + m.x238 == 0)
m.c238 = Constraint(expr=-0.5*m.x1810*(m.x841 + m.x842) - m.x238 + m.x239 == 0)
m.c239 = Constraint(expr=-0.5*m.x1810*(m.x842 + m.x843) - m.x239 + m.x240 == 0)
m.c240 = Constraint(expr=-0.5*m.x1810*(m.x843 + m.x844) - m.x240 + m.x241 == 0)
m.c241 = Constraint(expr=-0.5*m.x1810*(m.x844 + m.x845) - m.x241 + m.x242 == 0)
m.c242 = Constraint(expr=-0.5*m.x1810*(m.x845 + m.x846) - m.x242 + m.x243 == 0)
m.c243 = Constraint(expr=-0.5*m.x1810*(m.x846 + m.x847) - m.x243 + m.x244 == 0)
m.c244 = Constraint(expr=-0.5*m.x1810*(m.x847 + m.x848) - m.x244 + m.x245 == 0)
m.c245 = Constraint(expr=-0.5*m.x1810*(m.x848 + m.x849) - m.x245 + m.x246 == 0)
m.c246 = Constraint(expr=-0.5*m.x1810*(m.x849 + m.x850) - m.x246 + m.x247 == 0)
m.c247 = Constraint(expr=-0.5*m.x1810*(m.x850 + m.x851) - m.x247 + m.x248 == 0)
m.c248 = Constraint(expr=-0.5*m.x1810*(m.x851 + m.x852) - m.x248 + m.x249 == 0)
m.c249 = Constraint(expr=-0.5*m.x1810*(m.x852 + m.x853) - m.x249 + m.x250 == 0)
m.c250 = Constraint(expr=-0.5*m.x1810*(m.x853 + m.x854) - m.x250 + m.x251 == 0)
m.c251 = Constraint(expr=-0.5*m.x1810*(m.x854 + m.x855) - m.x251 + m.x252 == 0)
m.c252 = Constraint(expr=-0.5*m.x1810*(m.x855 + m.x856) - m.x252 + m.x253 == 0)
m.c253 = Constraint(expr=-0.5*m.x1810*(m.x856 + m.x857) - m.x253 + m.x254 == 0)
m.c254 = Constraint(expr=-0.5*m.x1810*(m.x857 + m.x858) - m.x254 + m.x255 == 0)
m.c255 = Constraint(expr=-0.5*m.x1810*(m.x858 + m.x859) - m.x255 + m.x256 == 0)
m.c256 = Constraint(expr=-0.5*m.x1810*(m.x859 + m.x860) - m.x256 + m.x257 == 0)
m.c257 = Constraint(expr=-0.5*m.x1810*(m.x860 + m.x861) - m.x257 + m.x258 == 0)
m.c258 = Constraint(expr=-0.5*m.x1810*(m.x861 + m.x862) - m.x258 + m.x259 == 0)
m.c259 = Constraint(expr=-0.5*m.x1810*(m.x862 + m.x863) - m.x259 + m.x260 == 0)
m.c260 = Constraint(expr=-0.5*m.x1810*(m.x863 + m.x864) - m.x260 + m.x261 == 0)
m.c261 = Constraint(expr=-0.5*m.x1810*(m.x864 + m.x865) - m.x261 + m.x262 == 0)
m.c262 = Constraint(expr=-0.5*m.x1810*(m.x865 + m.x866) - m.x262 + m.x263 == 0)
m.c263 = Constraint(expr=-0.5*m.x1810*(m.x866 + m.x867) - m.x263 + m.x264 == 0)
m.c264 = Constraint(expr=-0.5*m.x1810*(m.x867 + m.x868) - m.x264 + m.x265 == 0)
m.c265 = Constraint(expr=-0.5*m.x1810*(m.x868 + m.x869) - m.x265 + m.x266 == 0)
m.c266 = Constraint(expr=-0.5*m.x1810*(m.x869 + m.x870) - m.x266 + m.x267 == 0)
m.c267 = Constraint(expr=-0.5*m.x1810*(m.x870 + m.x871) - m.x267 + m.x268 == 0)
m.c268 = Constraint(expr=-0.5*m.x1810*(m.x871 + m.x872) - m.x268 + m.x269 == 0)
m.c269 = Constraint(expr=-0.5*m.x1810*(m.x872 + m.x873) - m.x269 + m.x270 == 0)
m.c270 = Constraint(expr=-0.5*m.x1810*(m.x873 + m.x874) - m.x270 + m.x271 == 0)
m.c271 = Constraint(expr=-0.5*m.x1810*(m.x874 + m.x875) - m.x271 + m.x272 == 0)
m.c272 = Constraint(expr=-0.5*m.x1810*(m.x875 + m.x876) - m.x272 + m.x273 == 0)
m.c273 = Constraint(expr=-0.5*m.x1810*(m.x876 + m.x877) - m.x273 + m.x274 == 0)
m.c274 = Constraint(expr=-0.5*m.x1810*(m.x877 + m.x878) - m.x274 + m.x275 == 0)
m.c275 = Constraint(expr=-0.5*m.x1810*(m.x878 + m.x879) - m.x275 + m.x276 == 0)
m.c276 = Constraint(expr=-0.5*m.x1810*(m.x879 + m.x880) - m.x276 + m.x277 == 0)
m.c277 = Constraint(expr=-0.5*m.x1810*(m.x880 + m.x881) - m.x277 + m.x278 == 0)
m.c278 = Constraint(expr=-0.5*m.x1810*(m.x881 + m.x882) - m.x278 + m.x279 == 0)
m.c279 = Constraint(expr=-0.5*m.x1810*(m.x882 + m.x883) - m.x279 + m.x280 == 0)
m.c280 = Constraint(expr=-0.5*m.x1810*(m.x883 + m.x884) - m.x280 + m.x281 == 0)
m.c281 = Constraint(expr=-0.5*m.x1810*(m.x884 + m.x885) - m.x281 + m.x282 == 0)
m.c282 = Constraint(expr=-0.5*m.x1810*(m.x885 + m.x886) - m.x282 + m.x283 == 0)
m.c283 = Constraint(expr=-0.5*m.x1810*(m.x886 + m.x887) - m.x283 + m.x284 == 0)
m.c284 = Constraint(expr=-0.5*m.x1810*(m.x887 + m.x888) - m.x284 + m.x285 == 0)
m.c285 = Constraint(expr=-0.5*m.x1810*(m.x888 + m.x889) - m.x285 + m.x286 == 0)
m.c286 = Constraint(expr=-0.5*m.x1810*(m.x889 + m.x890) - m.x286 + m.x287 == 0)
m.c287 = Constraint(expr=-0.5*m.x1810*(m.x890 + m.x891) - m.x287 + m.x288 == 0)
m.c288 = Constraint(expr=-0.5*m.x1810*(m.x891 + m.x892) - m.x288 + m.x289 == 0)
m.c289 = Constraint(expr=-0.5*m.x1810*(m.x892 + m.x893) - m.x289 + m.x290 == 0)
m.c290 = Constraint(expr=-0.5*m.x1810*(m.x893 + m.x894) - m.x290 + m.x291 == 0)
m.c291 = Constraint(expr=-0.5*m.x1810*(m.x894 + m.x895) - m.x291 + m.x292 == 0)
m.c292 = Constraint(expr=-0.5*m.x1810*(m.x895 + m.x896) - m.x292 + m.x293 == 0)
m.c293 = Constraint(expr=-0.5*m.x1810*(m.x896 + m.x897) - m.x293 + m.x294 == 0)
m.c294 = Constraint(expr=-0.5*m.x1810*(m.x897 + m.x898) - m.x294 + m.x295 == 0)
m.c295 = Constraint(expr=-0.5*m.x1810*(m.x898 + m.x899) - m.x295 + m.x296 == 0)
m.c296 = Constraint(expr=-0.5*m.x1810*(m.x899 + m.x900) - m.x296 + m.x297 == 0)
m.c297 = Constraint(expr=-0.5*m.x1810*(m.x900 + m.x901) - m.x297 + m.x298 == 0)
m.c298 = Constraint(expr=-0.5*m.x1810*(m.x901 + m.x902) - m.x298 + m.x299 == 0)
m.c299 = Constraint(expr=-0.5*m.x1810*(m.x902 + m.x903) - m.x299 + m.x300 == 0)
m.c300 = Constraint(expr=-0.5*m.x1810*(m.x903 + m.x904) - m.x300 + m.x301 == 0)
m.c301 = Constraint(expr=-0.5*m.x1810*(m.x904 + m.x905) - m.x301 + m.x302 == 0)
m.c302 = Constraint(expr=-0.5*m.x1810*(m.x905 + m.x906) - m.x302 + m.x303 == 0)
m.c303 = Constraint(expr=-0.5*m.x1810*(m.x906 + m.x907) - m.x303 + m.x304 == 0)
m.c304 = Constraint(expr=-0.5*m.x1810*(m.x907 + m.x908) - m.x304 + m.x305 == 0)
m.c305 = Constraint(expr=-0.5*m.x1810*(m.x908 + m.x909) - m.x305 + m.x306 == 0)
m.c306 = Constraint(expr=-0.5*m.x1810*(m.x909 + m.x910) - m.x306 + m.x307 == 0)
m.c307 = Constraint(expr=-0.5*m.x1810*(m.x910 + m.x911) - m.x307 + m.x308 == 0)
m.c308 = Constraint(expr=-0.5*m.x1810*(m.x911 + m.x912) - m.x308 + m.x309 == 0)
m.c309 = Constraint(expr=-0.5*m.x1810*(m.x912 + m.x913) - m.x309 + m.x310 == 0)
m.c310 = Constraint(expr=-0.5*m.x1810*(m.x913 + m.x914) - m.x310 + m.x311 == 0)
m.c311 = Constraint(expr=-0.5*m.x1810*(m.x914 + m.x915) - m.x311 + m.x312 == 0)
m.c312 = Constraint(expr=-0.5*m.x1810*(m.x915 + m.x916) - m.x312 + m.x313 == 0)
m.c313 = Constraint(expr=-0.5*m.x1810*(m.x916 + m.x917) - m.x313 + m.x314 == 0)
m.c314 = Constraint(expr=-0.5*m.x1810*(m.x917 + m.x918) - m.x314 + m.x315 == 0)
m.c315 = Constraint(expr=-0.5*m.x1810*(m.x918 + m.x919) - m.x315 + m.x316 == 0)
m.c316 = Constraint(expr=-0.5*m.x1810*(m.x919 + m.x920) - m.x316 + m.x317 == 0)
m.c317 = Constraint(expr=-0.5*m.x1810*(m.x920 + m.x921) - m.x317 + m.x318 == 0)
m.c318 = Constraint(expr=-0.5*m.x1810*(m.x921 + m.x922) - m.x318 + m.x319 == 0)
m.c319 = Constraint(expr=-0.5*m.x1810*(m.x922 + m.x923) - m.x319 + m.x320 == 0)
m.c320 = Constraint(expr=-0.5*m.x1810*(m.x923 + m.x924) - m.x320 + m.x321 == 0)
m.c321 = Constraint(expr=-0.5*m.x1810*(m.x924 + m.x925) - m.x321 + m.x322 == 0)
m.c322 = Constraint(expr=-0.5*m.x1810*(m.x925 + m.x926) - m.x322 + m.x323 == 0)
m.c323 = Constraint(expr=-0.5*m.x1810*(m.x926 + m.x927) - m.x323 + m.x324 == 0)
m.c324 = Constraint(expr=-0.5*m.x1810*(m.x927 + m.x928) - m.x324 + m.x325 == 0)
m.c325 = Constraint(expr=-0.5*m.x1810*(m.x928 + m.x929) - m.x325 + m.x326 == 0)
m.c326 = Constraint(expr=-0.5*m.x1810*(m.x929 + m.x930) - m.x326 + m.x327 == 0)
m.c327 = Constraint(expr=-0.5*m.x1810*(m.x930 + m.x931) - m.x327 + m.x328 == 0)
m.c328 = Constraint(expr=-0.5*m.x1810*(m.x931 + m.x932) - m.x328 + m.x329 == 0)
m.c329 = Constraint(expr=-0.5*m.x1810*(m.x932 + m.x933) - m.x329 + m.x330 == 0)
m.c330 = Constraint(expr=-0.5*m.x1810*(m.x933 + m.x934) - m.x330 + m.x331 == 0)
m.c331 = Constraint(expr=-0.5*m.x1810*(m.x934 + m.x935) - m.x331 + m.x332 == 0)
m.c332 = Constraint(expr=-0.5*m.x1810*(m.x935 + m.x936) - m.x332 + m.x333 == 0)
m.c333 = Constraint(expr=-0.5*m.x1810*(m.x936 + m.x937) - m.x333 + m.x334 == 0)
m.c334 = Constraint(expr=-0.5*m.x1810*(m.x937 + m.x938) - m.x334 + m.x335 == 0)
m.c335 = Constraint(expr=-0.5*m.x1810*(m.x938 + m.x939) - m.x335 + m.x336 == 0)
m.c336 = Constraint(expr=-0.5*m.x1810*(m.x939 + m.x940) - m.x336 + m.x337 == 0)
m.c337 = Constraint(expr=-0.5*m.x1810*(m.x940 + m.x941) - m.x337 + m.x338 == 0)
m.c338 = Constraint(expr=-0.5*m.x1810*(m.x941 + m.x942) - m.x338 + m.x339 == 0)
m.c339 = Constraint(expr=-0.5*m.x1810*(m.x942 + m.x943) - m.x339 + m.x340 == 0)
m.c340 = Constraint(expr=-0.5*m.x1810*(m.x943 + m.x944) - m.x340 + m.x341 == 0)
m.c341 = Constraint(expr=-0.5*m.x1810*(m.x944 + m.x945) - m.x341 + m.x342 == 0)
m.c342 = Constraint(expr=-0.5*m.x1810*(m.x945 + m.x946) - m.x342 + m.x343 == 0)
m.c343 = Constraint(expr=-0.5*m.x1810*(m.x946 + m.x947) - m.x343 + m.x344 == 0)
m.c344 = Constraint(expr=-0.5*m.x1810*(m.x947 + m.x948) - m.x344 + m.x345 == 0)
m.c345 = Constraint(expr=-0.5*m.x1810*(m.x948 + m.x949) - m.x345 + m.x346 == 0)
m.c346 = Constraint(expr=-0.5*m.x1810*(m.x949 + m.x950) - m.x346 + m.x347 == 0)
m.c347 = Constraint(expr=-0.5*m.x1810*(m.x950 + m.x951) - m.x347 + m.x348 == 0)
m.c348 = Constraint(expr=-0.5*m.x1810*(m.x951 + m.x952) - m.x348 + m.x349 == 0)
m.c349 = Constraint(expr=-0.5*m.x1810*(m.x952 + m.x953) - m.x349 + m.x350 == 0)
m.c350 = Constraint(expr=-0.5*m.x1810*(m.x953 + m.x954) - m.x350 + m.x351 == 0)
m.c351 = Constraint(expr=-0.5*m.x1810*(m.x954 + m.x955) - m.x351 + m.x352 == 0)
m.c352 = Constraint(expr=-0.5*m.x1810*(m.x955 + m.x956) - m.x352 + m.x353 == 0)
m.c353 = Constraint(expr=-0.5*m.x1810*(m.x956 + m.x957) - m.x353 + m.x354 == 0)
m.c354 = Constraint(expr=-0.5*m.x1810*(m.x957 + m.x958) - m.x354 + m.x355 == 0)
m.c355 = Constraint(expr=-0.5*m.x1810*(m.x958 + m.x959) - m.x355 + m.x356 == 0)
m.c356 = Constraint(expr=-0.5*m.x1810*(m.x959 + m.x960) - m.x356 + m.x357 == 0)
m.c357 = Constraint(expr=-0.5*m.x1810*(m.x960 + m.x961) - m.x357 + m.x358 == 0)
m.c358 = Constraint(expr=-0.5*m.x1810*(m.x961 + m.x962) - m.x358 + m.x359 == 0)
m.c359 = Constraint(expr=-0.5*m.x1810*(m.x962 + m.x963) - m.x359 + m.x360 == 0)
m.c360 = Constraint(expr=-0.5*m.x1810*(m.x963 + m.x964) - m.x360 + m.x361 == 0)
m.c361 = Constraint(expr=-0.5*m.x1810*(m.x964 + m.x965) - m.x361 + m.x362 == 0)
m.c362 = Constraint(expr=-0.5*m.x1810*(m.x965 + m.x966) - m.x362 + m.x363 == 0)
m.c363 = Constraint(expr=-0.5*m.x1810*(m.x966 + m.x967) - m.x363 + m.x364 == 0)
m.c364 = Constraint(expr=-0.5*m.x1810*(m.x967 + m.x968) - m.x364 + m.x365 == 0)
m.c365 = Constraint(expr=-0.5*m.x1810*(m.x968 + m.x969) - m.x365 + m.x366 == 0)
m.c366 = Constraint(expr=-0.5*m.x1810*(m.x969 + m.x970) - m.x366 + m.x367 == 0)
m.c367 = Constraint(expr=-0.5*m.x1810*(m.x970 + m.x971) - m.x367 + m.x368 == 0)
m.c368 = Constraint(expr=-0.5*m.x1810*(m.x971 + m.x972) - m.x368 + m.x369 == 0)
m.c369 = Constraint(expr=-0.5*m.x1810*(m.x972 + m.x973) - m.x369 + m.x370 == 0)
m.c370 = Constraint(expr=-0.5*m.x1810*(m.x973 + m.x974) - m.x370 + m.x371 == 0)
m.c371 = Constraint(expr=-0.5*m.x1810*(m.x974 + m.x975) - m.x371 + m.x372 == 0)
m.c372 = Constraint(expr=-0.5*m.x1810*(m.x975 + m.x976) - m.x372 + m.x373 == 0)
m.c373 = Constraint(expr=-0.5*m.x1810*(m.x976 + m.x977) - m.x373 + m.x374 == 0)
m.c374 = Constraint(expr=-0.5*m.x1810*(m.x977 + m.x978) - m.x374 + m.x375 == 0)
m.c375 = Constraint(expr=-0.5*m.x1810*(m.x978 + m.x979) - m.x375 + m.x376 == 0)
m.c376 = Constraint(expr=-0.5*m.x1810*(m.x979 + m.x980) - m.x376 + m.x377 == 0)
m.c377 = Constraint(expr=-0.5*m.x1810*(m.x980 + m.x981) - m.x377 + m.x378 == 0)
m.c378 = Constraint(expr=-0.5*m.x1810*(m.x981 + m.x982) - m.x378 + m.x379 == 0)
m.c379 = Constraint(expr=-0.5*m.x1810*(m.x982 + m.x983) - m.x379 + m.x380 == 0)
m.c380 = Constraint(expr=-0.5*m.x1810*(m.x983 + m.x984) - m.x380 + m.x381 == 0)
m.c381 = Constraint(expr=-0.5*m.x1810*(m.x984 + m.x985) - m.x381 + m.x382 == 0)
m.c382 = Constraint(expr=-0.5*m.x1810*(m.x985 + m.x986) - m.x382 + m.x383 == 0)
m.c383 = Constraint(expr=-0.5*m.x1810*(m.x986 + m.x987) - m.x383 + m.x384 == 0)
m.c384 = Constraint(expr=-0.5*m.x1810*(m.x987 + m.x988) - m.x384 + m.x385 == 0)
m.c385 = Constraint(expr=-0.5*m.x1810*(m.x988 + m.x989) - m.x385 + m.x386 == 0)
m.c386 = Constraint(expr=-0.5*m.x1810*(m.x989 + m.x990) - m.x386 + m.x387 == 0)
m.c387 = Constraint(expr=-0.5*m.x1810*(m.x990 + m.x991) - m.x387 + m.x388 == 0)
m.c388 = Constraint(expr=-0.5*m.x1810*(m.x991 + m.x992) - m.x388 + m.x389 == 0)
m.c389 = Constraint(expr=-0.5*m.x1810*(m.x992 + m.x993) - m.x389 + m.x390 == 0)
m.c390 = Constraint(expr=-0.5*m.x1810*(m.x993 + m.x994) - m.x390 + m.x391 == 0)
m.c391 = Constraint(expr=-0.5*m.x1810*(m.x994 + m.x995) - m.x391 + m.x392 == 0)
m.c392 = Constraint(expr=-0.5*m.x1810*(m.x995 + m.x996) - m.x392 + m.x393 == 0)
m.c393 = Constraint(expr=-0.5*m.x1810*(m.x996 + m.x997) - m.x393 + m.x394 == 0)
m.c394 = Constraint(expr=-0.5*m.x1810*(m.x997 + m.x998) - m.x394 + m.x395 == 0)
m.c395 = Constraint(expr=-0.5*m.x1810*(m.x998 + m.x999) - m.x395 + m.x396 == 0)
m.c396 = Constraint(expr=-0.5*m.x1810*(m.x999 + m.x1000) - m.x396 + m.x397 == 0)
m.c397 = Constraint(expr=-0.5*m.x1810*(m.x1000 + m.x1001) - m.x397 + m.x398 == 0)
m.c398 = Constraint(expr=-0.5*m.x1810*(m.x1001 + m.x1002) - m.x398 + m.x399 == 0)
m.c399 = Constraint(expr=-0.5*m.x1810*(m.x1002 + m.x1003) - m.x399 + m.x400 == 0)
m.c400 = Constraint(expr=-0.5*m.x1810*(m.x1003 + m.x1004) - m.x400 + m.x401 == 0)
m.c401 = Constraint(expr=-0.5*m.x1810*(m.x1004 + m.x1005) - m.x401 + m.x402 == 0)
m.c402 = Constraint(expr=-0.5*m.x1810*(m.x1006 + m.x1007) - m.x403 + m.x404 == 0)
m.c403 = Constraint(expr=-0.5*m.x1810*(m.x1007 + m.x1008) - m.x404 + m.x405 == 0)
m.c404 = Constraint(expr=-0.5*m.x1810*(m.x1008 + m.x1009) - m.x405 + m.x406 == 0)
m.c405 = Constraint(expr=-0.5*m.x1810*(m.x1009 + m.x1010) - m.x406 + m.x407 == 0)
m.c406 = Constraint(expr=-0.5*m.x1810*(m.x1010 + m.x1011) - m.x407 + m.x408 == 0)
m.c407 = Constraint(expr=-0.5*m.x1810*(m.x1011 + m.x1012) - m.x408 + m.x409 == 0)
m.c408 = Constraint(expr=-0.5*m.x1810*(m.x1012 + m.x1013) - m.x409 + m.x410 == 0)
m.c409 = Constraint(expr=-0.5*m.x1810*(m.x1013 + m.x1014) - m.x410 + m.x411 == 0)
m.c410 = Constraint(expr=-0.5*m.x1810*(m.x1014 + m.x1015) - m.x411 + m.x412 == 0)
m.c411 = Constraint(expr=-0.5*m.x1810*(m.x1015 + m.x1016) - m.x412 + m.x413 == 0)
m.c412 = Constraint(expr=-0.5*m.x1810*(m.x1016 + m.x1017) - m.x413 + m.x414 == 0)
m.c413 = Constraint(expr=-0.5*m.x1810*(m.x1017 + m.x1018) - m.x414 + m.x415 == 0)
m.c414 = Constraint(expr=-0.5*m.x1810*(m.x1018 + m.x1019) - m.x415 + m.x416 == 0)
m.c415 = Constraint(expr=-0.5*m.x1810*(m.x1019 + m.x1020) - m.x416 + m.x417 == 0)
m.c416 = Constraint(expr=-0.5*m.x1810*(m.x1020 + m.x1021) - m.x417 + m.x418 == 0)
m.c417 = Constraint(expr=-0.5*m.x1810*(m.x1021 + m.x1022) - m.x418 + m.x419 == 0)
m.c418 = Constraint(expr=-0.5*m.x1810*(m.x1022 + m.x1023) - m.x419 + m.x420 == 0)
m.c419 = Constraint(expr=-0.5*m.x1810*(m.x1023 + m.x1024) - m.x420 + m.x421 == 0)
m.c420 = Constraint(expr=-0.5*m.x1810*(m.x1024 + m.x1025) - m.x421 + m.x422 == 0)
m.c421 = Constraint(expr=-0.5*m.x1810*(m.x1025 + m.x1026) - m.x422 + m.x423 == 0)
m.c422 = Constraint(expr=-0.5*m.x1810*(m.x1026 + m.x1027) - m.x423 + m.x424 == 0)
m.c423 = Constraint(expr=-0.5*m.x1810*(m.x1027 + m.x1028) - m.x424 + m.x425 == 0)
m.c424 = Constraint(expr=-0.5*m.x1810*(m.x1028 + m.x1029) - m.x425 + m.x426 == 0)
m.c425 = Constraint(expr=-0.5*m.x1810*(m.x1029 + m.x1030) - m.x426 + m.x427 == 0)
m.c426 = Constraint(expr=-0.5*m.x1810*(m.x1030 + m.x1031) - m.x427 + m.x428 == 0)
m.c427 = Constraint(expr=-0.5*m.x1810*(m.x1031 + m.x1032) - m.x428 + m.x429 == 0)
m.c428 = Constraint(expr=-0.5*m.x1810*(m.x1032 + m.x1033) - m.x429 + m.x430 == 0)
m.c429 = Constraint(expr=-0.5*m.x1810*(m.x1033 + m.x1034) - m.x430 + m.x431 == 0)
m.c430 = Constraint(expr=-0.5*m.x1810*(m.x1034 + m.x1035) - m.x431 + m.x432 == 0)
m.c431 = Constraint(expr=-0.5*m.x1810*(m.x1035 + m.x1036) - m.x432 + m.x433 == 0)
m.c432 = Constraint(expr=-0.5*m.x1810*(m.x1036 + m.x1037) - m.x433 + m.x434 == 0)
m.c433 = Constraint(expr=-0.5*m.x1810*(m.x1037 + m.x1038) - m.x434 + m.x435 == 0)
m.c434 = Constraint(expr=-0.5*m.x1810*(m.x1038 + m.x1039) - m.x435 + m.x436 == 0)
m.c435 = Constraint(expr=-0.5*m.x1810*(m.x1039 + m.x1040) - m.x436 + m.x437 == 0)
m.c436 = Constraint(expr=-0.5*m.x1810*(m.x1040 + m.x1041) - m.x437 + m.x438 == 0)
m.c437 = Constraint(expr=-0.5*m.x1810*(m.x1041 + m.x1042) - m.x438 + m.x439 == 0)
m.c438 = Constraint(expr=-0.5*m.x1810*(m.x1042 + m.x1043) - m.x439 + m.x440 == 0)
m.c439 = Constraint(expr=-0.5*m.x1810*(m.x1043 + m.x1044) - m.x440 + m.x441 == 0)
m.c440 = Constraint(expr=-0.5*m.x1810*(m.x1044 + m.x1045) - m.x441 + m.x442 == 0)
m.c441 = Constraint(expr=-0.5*m.x1810*(m.x1045 + m.x1046) - m.x442 + m.x443 == 0)
m.c442 = Constraint(expr=-0.5*m.x1810*(m.x1046 + m.x1047) - m.x443 + m.x444 == 0)
m.c443 = Constraint(expr=-0.5*m.x1810*(m.x1047 + m.x1048) - m.x444 + m.x445 == 0)
m.c444 = Constraint(expr=-0.5*m.x1810*(m.x1048 + m.x1049) - m.x445 + m.x446 == 0)
m.c445 = Constraint(expr=-0.5*m.x1810*(m.x1049 + m.x1050) - m.x446 + m.x447 == 0)
m.c446 = Constraint(expr=-0.5*m.x1810*(m.x1050 + m.x1051) - m.x447 + m.x448 == 0)
m.c447 = Constraint(expr=-0.5*m.x1810*(m.x1051 + m.x1052) - m.x448 + m.x449 == 0)
m.c448 = Constraint(expr=-0.5*m.x1810*(m.x1052 + m.x1053) - m.x449 + m.x450 == 0)
m.c449 = Constraint(expr=-0.5*m.x1810*(m.x1053 + m.x1054) - m.x450 + m.x451 == 0)
m.c450 = Constraint(expr=-0.5*m.x1810*(m.x1054 + m.x1055) - m.x451 + m.x452 == 0)
m.c451 = Constraint(expr=-0.5*m.x1810*(m.x1055 + m.x1056) - m.x452 + m.x453 == 0)
m.c452 = Constraint(expr=-0.5*m.x1810*(m.x1056 + m.x1057) - m.x453 + m.x454 == 0)
m.c453 = Constraint(expr=-0.5*m.x1810*(m.x1057 + m.x1058) - m.x454 + m.x455 == 0)
m.c454 = Constraint(expr=-0.5*m.x1810*(m.x1058 + m.x1059) - m.x455 + m.x456 == 0)
m.c455 = Constraint(expr=-0.5*m.x1810*(m.x1059 + m.x1060) - m.x456 + m.x457 == 0)
m.c456 = Constraint(expr=-0.5*m.x1810*(m.x1060 + m.x1061) - m.x457 + m.x458 == 0)
m.c457 = Constraint(expr=-0.5*m.x1810*(m.x1061 + m.x1062) - m.x458 + m.x459 == 0)
m.c458 = Constraint(expr=-0.5*m.x1810*(m.x1062 + m.x1063) - m.x459 + m.x460 == 0)
m.c459 = Constraint(expr=-0.5*m.x1810*(m.x1063 + m.x1064) - m.x460 + m.x461 == 0)
m.c460 = Constraint(expr=-0.5*m.x1810*(m.x1064 + m.x1065) - m.x461 + m.x462 == 0)
m.c461 = Constraint(expr=-0.5*m.x1810*(m.x1065 + m.x1066) - m.x462 + m.x463 == 0)
m.c462 = Constraint(expr=-0.5*m.x1810*(m.x1066 + m.x1067) - m.x463 + m.x464 == 0)
m.c463 = Constraint(expr=-0.5*m.x1810*(m.x1067 + m.x1068) - m.x464 + m.x465 == 0)
m.c464 = Constraint(expr=-0.5*m.x1810*(m.x1068 + m.x1069) - m.x465 + m.x466 == 0)
m.c465 = Constraint(expr=-0.5*m.x1810*(m.x1069 + m.x1070) - m.x466 + m.x467 == 0)
m.c466 = Constraint(expr=-0.5*m.x1810*(m.x1070 + m.x1071) - m.x467 + m.x468 == 0)
m.c467 = Constraint(expr=-0.5*m.x1810*(m.x1071 + m.x1072) - m.x468 + m.x469 == 0)
m.c468 = Constraint(expr=-0.5*m.x1810*(m.x1072 + m.x1073) - m.x469 + m.x470 == 0)
m.c469 = Constraint(expr=-0.5*m.x1810*(m.x1073 + m.x1074) - m.x470 + m.x471 == 0)
m.c470 = Constraint(expr=-0.5*m.x1810*(m.x1074 + m.x1075) - m.x471 + m.x472 == 0)
m.c471 = Constraint(expr=-0.5*m.x1810*(m.x1075 + m.x1076) - m.x472 + m.x473 == 0)
m.c472 = Constraint(expr=-0.5*m.x1810*(m.x1076 + m.x1077) - m.x473 + m.x474 == 0)
m.c473 = Constraint(expr=-0.5*m.x1810*(m.x1077 + m.x1078) - m.x474 + m.x475 == 0)
m.c474 = Constraint(expr=-0.5*m.x1810*(m.x1078 + m.x1079) - m.x475 + m.x476 == 0)
m.c475 = Constraint(expr=-0.5*m.x1810*(m.x1079 + m.x1080) - m.x476 + m.x477 == 0)
m.c476 = Constraint(expr=-0.5*m.x1810*(m.x1080 + m.x1081) - m.x477 + m.x478 == 0)
m.c477 = Constraint(expr=-0.5*m.x1810*(m.x1081 + m.x1082) - m.x478 + m.x479 == 0)
m.c478 = Constraint(expr=-0.5*m.x1810*(m.x1082 + m.x1083) - m.x479 + m.x480 == 0)
m.c479 = Constraint(expr=-0.5*m.x1810*(m.x1083 + m.x1084) - m.x480 + m.x481 == 0)
m.c480 = Constraint(expr=-0.5*m.x1810*(m.x1084 + m.x1085) - m.x481 + m.x482 == 0)
m.c481 = Constraint(expr=-0.5*m.x1810*(m.x1085 + m.x1086) - m.x482 + m.x483 == 0)
m.c482 = Constraint(expr=-0.5*m.x1810*(m.x1086 + m.x1087) - m.x483 + m.x484 == 0)
m.c483 = Constraint(expr=-0.5*m.x1810*(m.x1087 + m.x1088) - m.x484 + m.x485 == 0)
m.c484 = Constraint(expr=-0.5*m.x1810*(m.x1088 + m.x1089) - m.x485 + m.x486 == 0)
m.c485 = Constraint(expr=-0.5*m.x1810*(m.x1089 + m.x1090) - m.x486 + m.x487 == 0)
m.c486 = Constraint(expr=-0.5*m.x1810*(m.x1090 + m.x1091) - m.x487 + m.x488 == 0)
m.c487 = Constraint(expr=-0.5*m.x1810*(m.x1091 + m.x1092) - m.x488 + m.x489 == 0)
m.c488 = Constraint(expr=-0.5*m.x1810*(m.x1092 + m.x1093) - m.x489 + m.x490 == 0)
m.c489 = Constraint(expr=-0.5*m.x1810*(m.x1093 + m.x1094) - m.x490 + m.x491 == 0)
m.c490 = Constraint(expr=-0.5*m.x1810*(m.x1094 + m.x1095) - m.x491 + m.x492 == 0)
m.c491 = Constraint(expr=-0.5*m.x1810*(m.x1095 + m.x1096) - m.x492 + m.x493 == 0)
m.c492 = Constraint(expr=-0.5*m.x1810*(m.x1096 + m.x1097) - m.x493 + m.x494 == 0)
m.c493 = Constraint(expr=-0.5*m.x1810*(m.x1097 + m.x1098) - m.x494 + m.x495 == 0)
m.c494 = Constraint(expr=-0.5*m.x1810*(m.x1098 + m.x1099) - m.x495 + m.x496 == 0)
m.c495 = Constraint(expr=-0.5*m.x1810*(m.x1099 + m.x1100) - m.x496 + m.x497 == 0)
m.c496 = Constraint(expr=-0.5*m.x1810*(m.x1100 + m.x1101) - m.x497 + m.x498 == 0)
m.c497 = Constraint(expr=-0.5*m.x1810*(m.x1101 + m.x1102) - m.x498 + m.x499 == 0)
m.c498 = Constraint(expr=-0.5*m.x1810*(m.x1102 + m.x1103) - m.x499 + m.x500 == 0)
m.c499 = Constraint(expr=-0.5*m.x1810*(m.x1103 + m.x1104) - m.x500 + m.x501 == 0)
m.c500 = Constraint(expr=-0.5*m.x1810*(m.x1104 + m.x1105) - m.x501 + m.x502 == 0)
m.c501 = Constraint(expr=-0.5*m.x1810*(m.x1105 + m.x1106) - m.x502 + m.x503 == 0)
m.c502 = Constraint(expr=-0.5*m.x1810*(m.x1106 + m.x1107) - m.x503 + m.x504 == 0)
m.c503 = Constraint(expr=-0.5*m.x1810*(m.x1107 + m.x1108) - m.x504 + m.x505 == 0)
m.c504 = Constraint(expr=-0.5*m.x1810*(m.x1108 + m.x1109) - m.x505 + m.x506 == 0)
m.c505 = Constraint(expr=-0.5*m.x1810*(m.x1109 + m.x1110) - m.x506 + m.x507 == 0)
m.c506 = Constraint(expr=-0.5*m.x1810*(m.x1110 + m.x1111) - m.x507 + m.x508 == 0)
m.c507 = Constraint(expr=-0.5*m.x1810*(m.x1111 + m.x1112) - m.x508 + m.x509 == 0)
m.c508 = Constraint(expr=-0.5*m.x1810*(m.x1112 + m.x1113) - m.x509 + m.x510 == 0)
m.c509 = Constraint(expr=-0.5*m.x1810*(m.x1113 + m.x1114) - m.x510 + m.x511 == 0)
m.c510 = Constraint(expr=-0.5*m.x1810*(m.x1114 + m.x1115) - m.x511 + m.x512 == 0)
m.c511 = Constraint(expr=-0.5*m.x1810*(m.x1115 + m.x1116) - m.x512 + m.x513 == 0)
m.c512 = Constraint(expr=-0.5*m.x1810*(m.x1116 + m.x1117) - m.x513 + m.x514 == 0)
m.c513 = Constraint(expr=-0.5*m.x1810*(m.x1117 + m.x1118) - m.x514 + m.x515 == 0)
m.c514 = Constraint(expr=-0.5*m.x1810*(m.x1118 + m.x1119) - m.x515 + m.x516 == 0)
m.c515 = Constraint(expr=-0.5*m.x1810*(m.x1119 + m.x1120) - m.x516 + m.x517 == 0)
m.c516 = Constraint(expr=-0.5*m.x1810*(m.x1120 + m.x1121) - m.x517 + m.x518 == 0)
m.c517 = Constraint(expr=-0.5*m.x1810*(m.x1121 + m.x1122) - m.x518 + m.x519 == 0)
m.c518 = Constraint(expr=-0.5*m.x1810*(m.x1122 + m.x1123) - m.x519 + m.x520 == 0)
m.c519 = Constraint(expr=-0.5*m.x1810*(m.x1123 + m.x1124) - m.x520 + m.x521 == 0)
m.c520 = Constraint(expr=-0.5*m.x1810*(m.x1124 + m.x1125) - m.x521 + m.x522 == 0)
m.c521 = Constraint(expr=-0.5*m.x1810*(m.x1125 + m.x1126) - m.x522 + m.x523 == 0)
m.c522 = Constraint(expr=-0.5*m.x1810*(m.x1126 + m.x1127) - m.x523 + m.x524 == 0)
m.c523 = Constraint(expr=-0.5*m.x1810*(m.x1127 + m.x1128) - m.x524 + m.x525 == 0)
m.c524 = Constraint(expr=-0.5*m.x1810*(m.x1128 + m.x1129) - m.x525 + m.x526 == 0)
m.c525 = Constraint(expr=-0.5*m.x1810*(m.x1129 + m.x1130) - m.x526 + m.x527 == 0)
m.c526 = Constraint(expr=-0.5*m.x1810*(m.x1130 + m.x1131) - m.x527 + m.x528 == 0)
m.c527 = Constraint(expr=-0.5*m.x1810*(m.x1131 + m.x1132) - m.x528 + m.x529 == 0)
m.c528 = Constraint(expr=-0.5*m.x1810*(m.x1132 + m.x1133) - m.x529 + m.x530 == 0)
m.c529 = Constraint(expr=-0.5*m.x1810*(m.x1133 + m.x1134) - m.x530 + m.x531 == 0)
m.c530 = Constraint(expr=-0.5*m.x1810*(m.x1134 + m.x1135) - m.x531 + m.x532 == 0)
m.c531 = Constraint(expr=-0.5*m.x1810*(m.x1135 + m.x1136) - m.x532 + m.x533 == 0)
m.c532 = Constraint(expr=-0.5*m.x1810*(m.x1136 + m.x1137) - m.x533 + m.x534 == 0)
m.c533 = Constraint(expr=-0.5*m.x1810*(m.x1137 + m.x1138) - m.x534 + m.x535 == 0)
m.c534 = Constraint(expr=-0.5*m.x1810*(m.x1138 + m.x1139) - m.x535 + m.x536 == 0)
m.c535 = Constraint(expr=-0.5*m.x1810*(m.x1139 + m.x1140) - m.x536 + m.x537 == 0)
m.c536 = Constraint(expr=-0.5*m.x1810*(m.x1140 + m.x1141) - m.x537 + m.x538 == 0)
m.c537 = Constraint(expr=-0.5*m.x1810*(m.x1141 + m.x1142) - m.x538 + m.x539 == 0)
m.c538 = Constraint(expr=-0.5*m.x1810*(m.x1142 + m.x1143) - m.x539 + m.x540 == 0)
m.c539 = Constraint(expr=-0.5*m.x1810*(m.x1143 + m.x1144) - m.x540 + m.x541 == 0)
m.c540 = Constraint(expr=-0.5*m.x1810*(m.x1144 + m.x1145) - m.x541 + m.x542 == 0)
m.c541 = Constraint(expr=-0.5*m.x1810*(m.x1145 + m.x1146) - m.x542 + m.x543 == 0)
m.c542 = Constraint(expr=-0.5*m.x1810*(m.x1146 + m.x1147) - m.x543 + m.x544 == 0)
m.c543 = Constraint(expr=-0.5*m.x1810*(m.x1147 + m.x1148) - m.x544 + m.x545 == 0)
m.c544 = Constraint(expr=-0.5*m.x1810*(m.x1148 + m.x1149) - m.x545 + m.x546 == 0)
m.c545 = Constraint(expr=-0.5*m.x1810*(m.x1149 + m.x1150) - m.x546 + m.x547 == 0)
m.c546 = Constraint(expr=-0.5*m.x1810*(m.x1150 + m.x1151) - m.x547 + m.x548 == 0)
m.c547 = Constraint(expr=-0.5*m.x1810*(m.x1151 + m.x1152) - m.x548 + m.x549 == 0)
m.c548 = Constraint(expr=-0.5*m.x1810*(m.x1152 + m.x1153) - m.x549 + m.x550 == 0)
m.c549 = Constraint(expr=-0.5*m.x1810*(m.x1153 + m.x1154) - m.x550 + m.x551 == 0)
m.c550 = Constraint(expr=-0.5*m.x1810*(m.x1154 + m.x1155) - m.x551 + m.x552 == 0)
m.c551 = Constraint(expr=-0.5*m.x1810*(m.x1155 + m.x1156) - m.x552 + m.x553 == 0)
m.c552 = Constraint(expr=-0.5*m.x1810*(m.x1156 + m.x1157) - m.x553 + m.x554 == 0)
m.c553 = Constraint(expr=-0.5*m.x1810*(m.x1157 + m.x1158) - m.x554 + m.x555 == 0)
m.c554 = Constraint(expr=-0.5*m.x1810*(m.x1158 + m.x1159) - m.x555 + m.x556 == 0)
m.c555 = Constraint(expr=-0.5*m.x1810*(m.x1159 + m.x1160) - m.x556 + m.x557 == 0)
m.c556 = Constraint(expr=-0.5*m.x1810*(m.x1160 + m.x1161) - m.x557 + m.x558 == 0)
m.c557 = Constraint(expr=-0.5*m.x1810*(m.x1161 + m.x1162) - m.x558 + m.x559 == 0)
m.c558 = Constraint(expr=-0.5*m.x1810*(m.x1162 + m.x1163) - m.x559 + m.x560 == 0)
m.c559 = Constraint(expr=-0.5*m.x1810*(m.x1163 + m.x1164) - m.x560 + m.x561 == 0)
m.c560 = Constraint(expr=-0.5*m.x1810*(m.x1164 + m.x1165) - m.x561 + m.x562 == 0)
m.c561 = Constraint(expr=-0.5*m.x1810*(m.x1165 + m.x1166) - m.x562 + m.x563 == 0)
m.c562 = Constraint(expr=-0.5*m.x1810*(m.x1166 + m.x1167) - m.x563 + m.x564 == 0)
m.c563 = Constraint(expr=-0.5*m.x1810*(m.x1167 + m.x1168) - m.x564 + m.x565 == 0)
m.c564 = Constraint(expr=-0.5*m.x1810*(m.x1168 + m.x1169) - m.x565 + m.x566 == 0)
m.c565 = Constraint(expr=-0.5*m.x1810*(m.x1169 + m.x1170) - m.x566 + m.x567 == 0)
m.c566 = Constraint(expr=-0.5*m.x1810*(m.x1170 + m.x1171) - m.x567 + m.x568 == 0)
m.c567 = Constraint(expr=-0.5*m.x1810*(m.x1171 + m.x1172) - m.x568 + m.x569 == 0)
m.c568 = Constraint(expr=-0.5*m.x1810*(m.x1172 + m.x1173) - m.x569 + m.x570 == 0)
m.c569 = Constraint(expr=-0.5*m.x1810*(m.x1173 + m.x1174) - m.x570 + m.x571 == 0)
m.c570 = Constraint(expr=-0.5*m.x1810*(m.x1174 + m.x1175) - m.x571 + m.x572 == 0)
m.c571 = Constraint(expr=-0.5*m.x1810*(m.x1175 + m.x1176) - m.x572 + m.x573 == 0)
m.c572 = Constraint(expr=-0.5*m.x1810*(m.x1176 + m.x1177) - m.x573 + m.x574 == 0)
m.c573 = Constraint(expr=-0.5*m.x1810*(m.x1177 + m.x1178) - m.x574 + m.x575 == 0)
m.c574 = Constraint(expr=-0.5*m.x1810*(m.x1178 + m.x1179) - m.x575 + m.x576 == 0)
m.c575 = Constraint(expr=-0.5*m.x1810*(m.x1179 + m.x1180) - m.x576 + m.x577 == 0)
m.c576 = Constraint(expr=-0.5*m.x1810*(m.x1180 + m.x1181) - m.x577 + m.x578 == 0)
m.c577 = Constraint(expr=-0.5*m.x1810*(m.x1181 + m.x1182) - m.x578 + m.x579 == 0)
m.c578 = Constraint(expr=-0.5*m.x1810*(m.x1182 + m.x1183) - m.x579 + m.x580 == 0)
m.c579 = Constraint(expr=-0.5*m.x1810*(m.x1183 + m.x1184) - m.x580 + m.x581 == 0)
m.c580 = Constraint(expr=-0.5*m.x1810*(m.x1184 + m.x1185) - m.x581 + m.x582 == 0)
m.c581 = Constraint(expr=-0.5*m.x1810*(m.x1185 + m.x1186) - m.x582 + m.x583 == 0)
m.c582 = Constraint(expr=-0.5*m.x1810*(m.x1186 + m.x1187) - m.x583 + m.x584 == 0)
m.c583 = Constraint(expr=-0.5*m.x1810*(m.x1187 + m.x1188) - m.x584 + m.x585 == 0)
m.c584 = Constraint(expr=-0.5*m.x1810*(m.x1188 + m.x1189) - m.x585 + m.x586 == 0)
m.c585 = Constraint(expr=-0.5*m.x1810*(m.x1189 + m.x1190) - m.x586 + m.x587 == 0)
m.c586 = Constraint(expr=-0.5*m.x1810*(m.x1190 + m.x1191) - m.x587 + m.x588 == 0)
m.c587 = Constraint(expr=-0.5*m.x1810*(m.x1191 + m.x1192) - m.x588 + m.x589 == 0)
m.c588 = Constraint(expr=-0.5*m.x1810*(m.x1192 + m.x1193) - m.x589 + m.x590 == 0)
m.c589 = Constraint(expr=-0.5*m.x1810*(m.x1193 + m.x1194) - m.x590 + m.x591 == 0)
m.c590 = Constraint(expr=-0.5*m.x1810*(m.x1194 + m.x1195) - m.x591 + m.x592 == 0)
m.c591 = Constraint(expr=-0.5*m.x1810*(m.x1195 + m.x1196) - m.x592 + m.x593 == 0)
m.c592 = Constraint(expr=-0.5*m.x1810*(m.x1196 + m.x1197) - m.x593 + m.x594 == 0)
m.c593 = Constraint(expr=-0.5*m.x1810*(m.x1197 + m.x1198) - m.x594 + m.x595 == 0)
m.c594 = Constraint(expr=-0.5*m.x1810*(m.x1198 + m.x1199) - m.x595 + m.x596 == 0)
m.c595 = Constraint(expr=-0.5*m.x1810*(m.x1199 + m.x1200) - m.x596 + m.x597 == 0)
m.c596 = Constraint(expr=-0.5*m.x1810*(m.x1200 + m.x1201) - m.x597 + m.x598 == 0)
m.c597 = Constraint(expr=-0.5*m.x1810*(m.x1201 + m.x1202) - m.x598 + m.x599 == 0)
m.c598 = Constraint(expr=-0.5*m.x1810*(m.x1202 + m.x1203) - m.x599 + m.x600 == 0)
m.c599 = Constraint(expr=-0.5*m.x1810*(m.x1203 + m.x1204) - m.x600 + m.x601 == 0)
m.c600 = Constraint(expr=-0.5*m.x1810*(m.x1204 + m.x1205) - m.x601 + m.x602 == 0)
m.c601 = Constraint(expr=-0.5*m.x1810*(m.x1205 + m.x1206) - m.x602 + m.x603 == 0)
m.c602 = Constraint(expr=-0.1*m.x1810*(m.x1207 + m.x1208) - m.x604 + m.x605 == 0)
m.c603 = Constraint(expr=-0.1*m.x1810*(m.x1208 + m.x1209) - m.x605 + m.x606 == 0)
m.c604 = Constraint(expr=-0.1*m.x1810*(m.x1209 + m.x1210) - m.x606 + m.x607 == 0)
m.c605 = Constraint(expr=-0.1*m.x1810*(m.x1210 + m.x1211) - m.x607 + m.x608 == 0)
m.c606 = Constraint(expr=-0.1*m.x1810*(m.x1211 + m.x1212) - m.x608 + m.x609 == 0)
m.c607 = Constraint(expr=-0.1*m.x1810*(m.x1212 + m.x1213) - m.x609 + m.x610 == 0)
m.c608 = Constraint(expr=-0.1*m.x1810*(m.x1213 + m.x1214) - m.x610 + m.x611 == 0)
m.c609 = Constraint(expr=-0.1*m.x1810*(m.x1214 + m.x1215) - m.x611 + m.x612 == 0)
m.c610 = Constraint(expr=-0.1*m.x1810*(m.x1215 + m.x1216) - m.x612 + m.x613 == 0)
m.c611 = Constraint(expr=-0.1*m.x1810*(m.x1216 + m.x1217) - m.x613 + m.x614 == 0)
m.c612 = Constraint(expr=-0.1*m.x1810*(m.x1217 + m.x1218) - m.x614 + m.x615 == 0)
m.c613 = Constraint(expr=-0.1*m.x1810*(m.x1218 + m.x1219) - m.x615 + m.x616 == 0)
m.c614 = Constraint(expr=-0.1*m.x1810*(m.x1219 + m.x1220) - m.x616 + m.x617 == 0)
m.c615 = Constraint(expr=-0.1*m.x1810*(m.x1220 + m.x1221) - m.x617 + m.x618 == 0)
m.c616 = Constraint(expr=-0.1*m.x1810*(m.x1221 + m.x1222) - m.x618 + m.x619 == 0)
m.c617 = Constraint(expr=-0.1*m.x1810*(m.x1222 + m.x1223) - m.x619 + m.x620 == 0)
m.c618 = Constraint(expr=-0.1*m.x1810*(m.x1223 + m.x1224) - m.x620 + m.x621 == 0)
m.c619 = Constraint(expr=-0.1*m.x1810*(m.x1224 + m.x1225) - m.x621 + m.x622 == 0)
m.c620 = Constraint(expr=-0.1*m.x1810*(m.x1225 + m.x1226) - m.x622 + m.x623 == 0)
m.c621 = Constraint(expr=-0.1*m.x1810*(m.x1226 + m.x1227) - m.x623 + m.x624 == 0)
m.c622 = Constraint(expr=-0.1*m.x1810*(m.x1227 + m.x1228) - m.x624 + m.x625 == 0)
m.c623 = Constraint(expr=-0.1*m.x1810*(m.x1228 + m.x1229) - m.x625 + m.x626 == 0)
m.c624 = Constraint(expr=-0.1*m.x1810*(m.x1229 + m.x1230) - m.x626 + m.x627 == 0)
m.c625 = Constraint(expr=-0.1*m.x1810*(m.x1230 + m.x1231) - m.x627 + m.x628 == 0)
m.c626 = Constraint(expr=-0.1*m.x1810*(m.x1231 + m.x1232) - m.x628 + m.x629 == 0)
m.c627 = Constraint(expr=-0.1*m.x1810*(m.x1232 + m.x1233) - m.x629 + m.x630 == 0)
m.c628 = Constraint(expr=-0.1*m.x1810*(m.x1233 + m.x1234) - m.x630 + m.x631 == 0)
m.c629 = Constraint(expr=-0.1*m.x1810*(m.x1234 + m.x1235) - m.x631 + m.x632 == 0)
m.c630 = Constraint(expr=-0.1*m.x1810*(m.x1235 + m.x1236) - m.x632 + m.x633 == 0)
m.c631 = Constraint(expr=-0.1*m.x1810*(m.x1236 + m.x1237) - m.x633 + m.x634 == 0)
m.c632 = Constraint(expr=-0.1*m.x1810*(m.x1237 + m.x1238) - m.x634 + m.x635 == 0)
m.c633 = Constraint(expr=-0.1*m.x1810*(m.x1238 + m.x1239) - m.x635 + m.x636 == 0)
m.c634 = Constraint(expr=-0.1*m.x1810*(m.x1239 + m.x1240) - m.x636 + m.x637 == 0)
m.c635 = Constraint(expr=-0.1*m.x1810*(m.x1240 + m.x1241) - m.x637 + m.x638 == 0)
m.c636 = Constraint(expr=-0.1*m.x1810*(m.x1241 + m.x1242) - m.x638 + m.x639 == 0)
m.c637 = Constraint(expr=-0.1*m.x1810*(m.x1242 + m.x1243) - m.x639 + m.x640 == 0)
m.c638 = Constraint(expr=-0.1*m.x1810*(m.x1243 + m.x1244) - m.x640 + m.x641 == 0)
m.c639 = Constraint(expr=-0.1*m.x1810*(m.x1244 + m.x1245) - m.x641 + m.x642 == 0)
m.c640 = Constraint(expr=-0.1*m.x1810*(m.x1245 + m.x1246) - m.x642 + m.x643 == 0)
m.c641 = Constraint(expr=-0.1*m.x1810*(m.x1246 + m.x1247) - m.x643 + m.x644 == 0)
m.c642 = Constraint(expr=-0.1*m.x1810*(m.x1247 + m.x1248) - m.x644 + m.x645 == 0)
m.c643 = Constraint(expr=-0.1*m.x1810*(m.x1248 + m.x1249) - m.x645 + m.x646 == 0)
m.c644 = Constraint(expr=-0.1*m.x1810*(m.x1249 + m.x1250) - m.x646 + m.x647 == 0)
m.c645 = Constraint(expr=-0.1*m.x1810*(m.x1250 + m.x1251) - m.x647 + m.x648 == 0)
m.c646 = Constraint(expr=-0.1*m.x1810*(m.x1251 + m.x1252) - m.x648 + m.x649 == 0)
m.c647 = Constraint(expr=-0.1*m.x1810*(m.x1252 + m.x1253) - m.x649 + m.x650 == 0)
m.c648 = Constraint(expr=-0.1*m.x1810*(m.x1253 + m.x1254) - m.x650 + m.x651 == 0)
m.c649 = Constraint(expr=-0.1*m.x1810*(m.x1254 + m.x1255) - m.x651 + m.x652 == 0)
m.c650 = Constraint(expr=-0.1*m.x1810*(m.x1255 + m.x1256) - m.x652 + m.x653 == 0)
m.c651 = Constraint(expr=-0.1*m.x1810*(m.x1256 + m.x1257) - m.x653 + m.x654 == 0)
m.c652 = Constraint(expr=-0.1*m.x1810*(m.x1257 + m.x1258) - m.x654 + m.x655 == 0)
m.c653 = Constraint(expr=-0.1*m.x1810*(m.x1258 + m.x1259) - m.x655 + m.x656 == 0)
m.c654 = Constraint(expr=-0.1*m.x1810*(m.x1259 + m.x1260) - m.x656 + m.x657 == 0)
m.c655 = Constraint(expr=-0.1*m.x1810*(m.x1260 + m.x1261) - m.x657 + m.x658 == 0)
m.c656 = Constraint(expr=-0.1*m.x1810*(m.x1261 + m.x1262) - m.x658 + m.x659 == 0)
m.c657 = Constraint(expr=-0.1*m.x1810*(m.x1262 + m.x1263) - m.x659 + m.x660 == 0)
m.c658 = Constraint(expr=-0.1*m.x1810*(m.x1263 + m.x1264) - m.x660 + m.x661 == 0)
m.c659 = Constraint(expr=-0.1*m.x1810*(m.x1264 + m.x1265) - m.x661 + m.x662 == 0)
m.c660 = Constraint(expr=-0.1*m.x1810*(m.x1265 + m.x1266) - m.x662 + m.x663 == 0)
m.c661 = Constraint(expr=-0.1*m.x1810*(m.x1266 + m.x1267) - m.x663 + m.x664 == 0)
m.c662 = Constraint(expr=-0.1*m.x1810*(m.x1267 + m.x1268) - m.x664 + m.x665 == 0)
m.c663 = Constraint(expr=-0.1*m.x1810*(m.x1268 + m.x1269) - m.x665 + m.x666 == 0)
m.c664 = Constraint(expr=-0.1*m.x1810*(m.x1269 + m.x1270) - m.x666 + m.x667 == 0)
m.c665 = Constraint(expr=-0.1*m.x1810*(m.x1270 + m.x1271) - m.x667 + m.x668 == 0)
m.c666 = Constraint(expr=-0.1*m.x1810*(m.x1271 + m.x1272) - m.x668 + m.x669 == 0)
m.c667 = Constraint(expr=-0.1*m.x1810*(m.x1272 + m.x1273) - m.x669 + m.x670 == 0)
m.c668 = Constraint(expr=-0.1*m.x1810*(m.x1273 + m.x1274) - m.x670 + m.x671 == 0)
m.c669 = Constraint(expr=-0.1*m.x1810*(m.x1274 + m.x1275) - m.x671 + m.x672 == 0)
m.c670 = Constraint(expr=-0.1*m.x1810*(m.x1275 + m.x1276) - m.x672 + m.x673 == 0)
m.c671 = Constraint(expr=-0.1*m.x1810*(m.x1276 + m.x1277) - m.x673 + m.x674 == 0)
m.c672 = Constraint(expr=-0.1*m.x1810*(m.x1277 + m.x1278) - m.x674 + m.x675 == 0)
m.c673 = Constraint(expr=-0.1*m.x1810*(m.x1278 + m.x1279) - m.x675 + m.x676 == 0)
m.c674 = Constraint(expr=-0.1*m.x1810*(m.x1279 + m.x1280) - m.x676 + m.x677 == 0)
m.c675 = Constraint(expr=-0.1*m.x1810*(m.x1280 + m.x1281) - m.x677 + m.x678 == 0)
m.c676 = Constraint(expr=-0.1*m.x1810*(m.x1281 + m.x1282) - m.x678 + m.x679 == 0)
m.c677 = Constraint(expr=-0.1*m.x1810*(m.x1282 + m.x1283) - m.x679 + m.x680 == 0)
m.c678 = Constraint(expr=-0.1*m.x1810*(m.x1283 + m.x1284) - m.x680 + m.x681 == 0)
m.c679 = Constraint(expr=-0.1*m.x1810*(m.x1284 + m.x1285) - m.x681 + m.x682 == 0)
m.c680 = Constraint(expr=-0.1*m.x1810*(m.x1285 + m.x1286) - m.x682 + m.x683 == 0)
m.c681 = Constraint(expr=-0.1*m.x1810*(m.x1286 + m.x1287) - m.x683 + m.x684 == 0)
m.c682 = Constraint(expr=-0.1*m.x1810*(m.x1287 + m.x1288) - m.x684 + m.x685 == 0)
m.c683 = Constraint(expr=-0.1*m.x1810*(m.x1288 + m.x1289) - m.x685 + m.x686 == 0)
m.c684 = Constraint(expr=-0.1*m.x1810*(m.x1289 + m.x1290) - m.x686 + m.x687 == 0)
m.c685 = Constraint(expr=-0.1*m.x1810*(m.x1290 + m.x1291) - m.x687 + m.x688 == 0)
m.c686 = Constraint(expr=-0.1*m.x1810*(m.x1291 + m.x1292) - m.x688 + m.x689 == 0)
m.c687 = Constraint(expr=-0.1*m.x1810*(m.x1292 + m.x1293) - m.x689 + m.x690 == 0)
m.c688 = Constraint(expr=-0.1*m.x1810*(m.x1293 + m.x1294) - m.x690 + m.x691 == 0)
m.c689 = Constraint(expr=-0.1*m.x1810*(m.x1294 + m.x1295) - m.x691 + m.x692 == 0)
m.c690 = Constraint(expr=-0.1*m.x1810*(m.x1295 + m.x1296) - m.x692 + m.x693 == 0)
m.c691 = Constraint(expr=-0.1*m.x1810*(m.x1296 + m.x1297) - m.x693 + m.x694 == 0)
m.c692 = Constraint(expr=-0.1*m.x1810*(m.x1297 + m.x1298) - m.x694 + m.x695 == 0)
m.c693 = Constraint(expr=-0.1*m.x1810*(m.x1298 + m.x1299) - m.x695 + m.x696 == 0)
m.c694 = Constraint(expr=-0.1*m.x1810*(m.x1299 + m.x1300) - m.x696 + m.x697 == 0)
m.c695 = Constraint(expr=-0.1*m.x1810*(m.x1300 + m.x1301) - m.x697 + m.x698 == 0)
m.c696 = Constraint(expr=-0.1*m.x1810*(m.x1301 + m.x1302) - m.x698 + m.x699 == 0)
m.c697 = Constraint(expr=-0.1*m.x1810*(m.x1302 + m.x1303) - m.x699 + m.x700 == 0)
m.c698 = Constraint(expr=-0.1*m.x1810*(m.x1303 + m.x1304) - m.x700 + m.x701 == 0)
m.c699 = Constraint(expr=-0.1*m.x1810*(m.x1304 + m.x1305) - m.x701 + m.x702 == 0)
m.c700 = Constraint(expr=-0.1*m.x1810*(m.x1305 + m.x1306) - m.x702 + m.x703 == 0)
m.c701 = Constraint(expr=-0.1*m.x1810*(m.x1306 + m.x1307) - m.x703 + m.x704 == 0)
m.c702 = Constraint(expr=-0.1*m.x1810*(m.x1307 + m.x1308) - m.x704 + m.x705 == 0)
m.c703 = Constraint(expr=-0.1*m.x1810*(m.x1308 + m.x1309) - m.x705 + m.x706 == 0)
m.c704 = Constraint(expr=-0.1*m.x1810*(m.x1309 + m.x1310) - m.x706 + m.x707 == 0)
m.c705 = Constraint(expr=-0.1*m.x1810*(m.x1310 + m.x1311) - m.x707 + m.x708 == 0)
m.c706 = Constraint(expr=-0.1*m.x1810*(m.x1311 + m.x1312) - m.x708 + m.x709 == 0)
m.c707 = Constraint(expr=-0.1*m.x1810*(m.x1312 + m.x1313) - m.x709 + m.x710 == 0)
m.c708 = Constraint(expr=-0.1*m.x1810*(m.x1313 + m.x1314) - m.x710 + m.x711 == 0)
m.c709 = Constraint(expr=-0.1*m.x1810*(m.x1314 + m.x1315) - m.x711 + m.x712 == 0)
m.c710 = Constraint(expr=-0.1*m.x1810*(m.x1315 + m.x1316) - m.x712 + m.x713 == 0)
m.c711 = Constraint(expr=-0.1*m.x1810*(m.x1316 + m.x1317) - m.x713 + m.x714 == 0)
m.c712 = Constraint(expr=-0.1*m.x1810*(m.x1317 + m.x1318) - m.x714 + m.x715 == 0)
m.c713 = Constraint(expr=-0.1*m.x1810*(m.x1318 + m.x1319) - m.x715 + m.x716 == 0)
m.c714 = Constraint(expr=-0.1*m.x1810*(m.x1319 + m.x1320) - m.x716 + m.x717 == 0)
m.c715 = Constraint(expr=-0.1*m.x1810*(m.x1320 + m.x1321) - m.x717 + m.x718 == 0)
m.c716 = Constraint(expr=-0.1*m.x1810*(m.x1321 + m.x1322) - m.x718 + m.x719 == 0)
m.c717 = Constraint(expr=-0.1*m.x1810*(m.x1322 + m.x1323) - m.x719 + m.x720 == 0)
m.c718 = Constraint(expr=-0.1*m.x1810*(m.x1323 + m.x1324) - m.x720 + m.x721 == 0)
m.c719 = Constraint(expr=-0.1*m.x1810*(m.x1324 + m.x1325) - m.x721 + m.x722 == 0)
m.c720 = Constraint(expr=-0.1*m.x1810*(m.x1325 + m.x1326) - m.x722 + m.x723 == 0)
m.c721 = Constraint(expr=-0.1*m.x1810*(m.x1326 + m.x1327) - m.x723 + m.x724 == 0)
m.c722 = Constraint(expr=-0.1*m.x1810*(m.x1327 + m.x1328) - m.x724 + m.x725 == 0)
m.c723 = Constraint(expr=-0.1*m.x1810*(m.x1328 + m.x1329) - m.x725 + m.x726 == 0)
m.c724 = Constraint(expr=-0.1*m.x1810*(m.x1329 + m.x1330) - m.x726 + m.x727 == 0)
m.c725 = Constraint(expr=-0.1*m.x1810*(m.x1330 + m.x1331) - m.x727 + m.x728 == 0)
m.c726 = Constraint(expr=-0.1*m.x1810*(m.x1331 + m.x1332) - m.x728 + m.x729 == 0)
m.c727 = Constraint(expr=-0.1*m.x1810*(m.x1332 + m.x1333) - m.x729 + m.x730 == 0)
m.c728 = Constraint(expr=-0.1*m.x1810*(m.x1333 + m.x1334) - m.x730 + m.x731 == 0)
m.c729 = Constraint(expr=-0.1*m.x1810*(m.x1334 + m.x1335) - m.x731 + m.x732 == 0)
m.c730 = Constraint(expr=-0.1*m.x1810*(m.x1335 + m.x1336) - m.x732 + m.x733 == 0)
m.c731 = Constraint(expr=-0.1*m.x1810*(m.x1336 + m.x1337) - m.x733 + m.x734 == 0)
m.c732 = Constraint(expr=-0.1*m.x1810*(m.x1337 + m.x1338) - m.x734 + m.x735 == 0)
m.c733 = Constraint(expr=-0.1*m.x1810*(m.x1338 + m.x1339) - m.x735 + m.x736 == 0)
m.c734 = Constraint(expr=-0.1*m.x1810*(m.x1339 + m.x1340) - m.x736 + m.x737 == 0)
m.c735 = Constraint(expr=-0.1*m.x1810*(m.x1340 + m.x1341) - m.x737 + m.x738 == 0)
m.c736 = Constraint(expr=-0.1*m.x1810*(m.x1341 + m.x1342) - m.x738 + m.x739 == 0)
m.c737 = Constraint(expr=-0.1*m.x1810*(m.x1342 + m.x1343) - m.x739 + m.x740 == 0)
m.c738 = Constraint(expr=-0.1*m.x1810*(m.x1343 + m.x1344) - m.x740 + m.x741 == 0)
m.c739 = Constraint(expr=-0.1*m.x1810*(m.x1344 + m.x1345) - m.x741 + m.x742 == 0)
m.c740 = Constraint(expr=-0.1*m.x1810*(m.x1345 + m.x1346) - m.x742 + m.x743 == 0)
m.c741 = Constraint(expr=-0.1*m.x1810*(m.x1346 + m.x1347) - m.x743 + m.x744 == 0)
m.c742 = Constraint(expr=-0.1*m.x1810*(m.x1347 + m.x1348) - m.x744 + m.x745 == 0)
m.c743 = Constraint(expr=-0.1*m.x1810*(m.x1348 + m.x1349) - m.x745 + m.x746 == 0)
m.c744 = Constraint(expr=-0.1*m.x1810*(m.x1349 + m.x1350) - m.x746 + m.x747 == 0)
m.c745 = Constraint(expr=-0.1*m.x1810*(m.x1350 + m.x1351) - m.x747 + m.x748 == 0)
m.c746 = Constraint(expr=-0.1*m.x1810*(m.x1351 + m.x1352) - m.x748 + m.x749 == 0)
m.c747 = Constraint(expr=-0.1*m.x1810*(m.x1352 + m.x1353) - m.x749 + m.x750 == 0)
m.c748 = Constraint(expr=-0.1*m.x1810*(m.x1353 + m.x1354) - m.x750 + m.x751 == 0)
m.c749 = Constraint(expr=-0.1*m.x1810*(m.x1354 + m.x1355) - m.x751 + m.x752 == 0)
m.c750 = Constraint(expr=-0.1*m.x1810*(m.x1355 + m.x1356) - m.x752 + m.x753 == 0)
m.c751 = Constraint(expr=-0.1*m.x1810*(m.x1356 + m.x1357) - m.x753 + m.x754 == 0)
m.c752 = Constraint(expr=-0.1*m.x1810*(m.x1357 + m.x1358) - m.x754 + m.x755 == 0)
m.c753 = Constraint(expr=-0.1*m.x1810*(m.x1358 + m.x1359) - m.x755 + m.x756 == 0)
m.c754 = Constraint(expr=-0.1*m.x1810*(m.x1359 + m.x1360) - m.x756 + m.x757 == 0)
m.c755 = Constraint(expr=-0.1*m.x1810*(m.x1360 + m.x1361) - m.x757 + m.x758 == 0)
m.c756 = Constraint(expr=-0.1*m.x1810*(m.x1361 + m.x1362) - m.x758 + m.x759 == 0)
m.c757 = Constraint(expr=-0.1*m.x1810*(m.x1362 + m.x1363) - m.x759 + m.x760 == 0)
m.c758 = Constraint(expr=-0.1*m.x1810*(m.x1363 + m.x1364) - m.x760 + m.x761 == 0)
m.c759 = Constraint(expr=-0.1*m.x1810*(m.x1364 + m.x1365) - m.x761 + m.x762 == 0)
m.c760 = Constraint(expr=-0.1*m.x1810*(m.x1365 + m.x1366) - m.x762 + m.x763 == 0)
m.c761 = Constraint(expr=-0.1*m.x1810*(m.x1366 + m.x1367) - m.x763 + m.x764 == 0)
m.c762 = Constraint(expr=-0.1*m.x1810*(m.x1367 + m.x1368) - m.x764 + m.x765 == 0)
m.c763 = Constraint(expr=-0.1*m.x1810*(m.x1368 + m.x1369) - m.x765 + m.x766 == 0)
m.c764 = Constraint(expr=-0.1*m.x1810*(m.x1369 + m.x1370) - m.x766 + m.x767 == 0)
m.c765 = Constraint(expr=-0.1*m.x1810*(m.x1370 + m.x1371) - m.x767 + m.x768 == 0)
m.c766 = Constraint(expr=-0.1*m.x1810*(m.x1371 + m.x1372) - m.x768 + m.x769 == 0)
m.c767 = Constraint(expr=-0.1*m.x1810*(m.x1372 + m.x1373) - m.x769 + m.x770 == 0)
m.c768 = Constraint(expr=-0.1*m.x1810*(m.x1373 + m.x1374) - m.x770 + m.x771 == 0)
m.c769 = Constraint(expr=-0.1*m.x1810*(m.x1374 + m.x1375) - m.x771 + m.x772 == 0)
m.c770 = Constraint(expr=-0.1*m.x1810*(m.x1375 + m.x1376) - m.x772 + m.x773 == 0)
m.c771 = Constraint(expr=-0.1*m.x1810*(m.x1376 + m.x1377) - m.x773 + m.x774 == 0)
m.c772 = Constraint(expr=-0.1*m.x1810*(m.x1377 + m.x1378) - m.x774 + m.x775 == 0)
m.c773 = Constraint(expr=-0.1*m.x1810*(m.x1378 + m.x1379) - m.x775 + m.x776 == 0)
m.c774 = Constraint(expr=-0.1*m.x1810*(m.x1379 + m.x1380) - m.x776 + m.x777 == 0)
m.c775 = Constraint(expr=-0.1*m.x1810*(m.x1380 + m.x1381) - m.x777 + m.x778 == 0)
m.c776 = Constraint(expr=-0.1*m.x1810*(m.x1381 + m.x1382) - m.x778 + m.x779 == 0)
m.c777 = Constraint(expr=-0.1*m.x1810*(m.x1382 + m.x1383) - m.x779 + m.x780 == 0)
m.c778 = Constraint(expr=-0.1*m.x1810*(m.x1383 + m.x1384) - m.x780 + m.x781 == 0)
m.c779 = Constraint(expr=-0.1*m.x1810*(m.x1384 + m.x1385) - m.x781 + m.x782 == 0)
m.c780 = Constraint(expr=-0.1*m.x1810*(m.x1385 + m.x1386) - m.x782 + m.x783 == 0)
m.c781 = Constraint(expr=-0.1*m.x1810*(m.x1386 + m.x1387) - m.x783 + m.x784 == 0)
m.c782 = Constraint(expr=-0.1*m.x1810*(m.x1387 + m.x1388) - m.x784 + m.x785 == 0)
m.c783 = Constraint(expr=-0.1*m.x1810*(m.x1388 + m.x1389) - m.x785 + m.x786 == 0)
m.c784 = Constraint(expr=-0.1*m.x1810*(m.x1389 + m.x1390) - m.x786 + m.x787 == 0)
m.c785 = Constraint(expr=-0.1*m.x1810*(m.x1390 + m.x1391) - m.x787 + m.x788 == 0)
m.c786 = Constraint(expr=-0.1*m.x1810*(m.x1391 + m.x1392) - m.x788 + m.x789 == 0)
m.c787 = Constraint(expr=-0.1*m.x1810*(m.x1392 + m.x1393) - m.x789 + m.x790 == 0)
m.c788 = Constraint(expr=-0.1*m.x1810*(m.x1393 + m.x1394) - m.x790 + m.x791 == 0)
m.c789 = Constraint(expr=-0.1*m.x1810*(m.x1394 + m.x1395) - m.x791 + m.x792 == 0)
m.c790 = Constraint(expr=-0.1*m.x1810*(m.x1395 + m.x1396) - m.x792 + m.x793 == 0)
m.c791 = Constraint(expr=-0.1*m.x1810*(m.x1396 + m.x1397) - m.x793 + m.x794 == 0)
m.c792 = Constraint(expr=-0.1*m.x1810*(m.x1397 + m.x1398) - m.x794 + m.x795 == 0)
m.c793 = Constraint(expr=-0.1*m.x1810*(m.x1398 + m.x1399) - m.x795 + m.x796 == 0)
m.c794 = Constraint(expr=-0.1*m.x1810*(m.x1399 + m.x1400) - m.x796 + m.x797 == 0)
m.c795 = Constraint(expr=-0.1*m.x1810*(m.x1400 + m.x1401) - m.x797 + m.x798 == 0)
m.c796 = Constraint(expr=-0.1*m.x1810*(m.x1401 + m.x1402) - m.x798 + m.x799 == 0)
m.c797 = Constraint(expr=-0.1*m.x1810*(m.x1402 + m.x1403) - m.x799 + m.x800 == 0)
m.c798 = Constraint(expr=-0.1*m.x1810*(m.x1403 + m.x1404) - m.x800 + m.x801 == 0)
m.c799 = Constraint(expr=-0.1*m.x1810*(m.x1404 + m.x1405) - m.x801 + m.x802 == 0)
m.c800 = Constraint(expr=-0.1*m.x1810*(m.x1405 + m.x1406) - m.x802 + m.x803 == 0)
m.c801 = Constraint(expr=-0.1*m.x1810*(m.x1406 + m.x1407) - m.x803 + m.x804 == 0)
m.c802 = Constraint(expr=-0.5*(m.x1409/m.x1813 + m.x1408/m.x1812)*m.x1810 - m.x805 + m.x806 == 0)
m.c803 = Constraint(expr=-0.5*(m.x1410/m.x1814 + m.x1409/m.x1813)*m.x1810 - m.x806 + m.x807 == 0)
m.c804 = Constraint(expr=-0.5*(m.x1411/m.x1815 + m.x1410/m.x1814)*m.x1810 - m.x807 + m.x808 == 0)
m.c805 = Constraint(expr=-0.5*(m.x1412/m.x1816 + m.x1411/m.x1815)*m.x1810 - m.x808 + m.x809 == 0)
m.c806 = Constraint(expr=-0.5*(m.x1413/m.x1817 + m.x1412/m.x1816)*m.x1810 - m.x809 + m.x810 == 0)
m.c807 = Constraint(expr=-0.5*(m.x1414/m.x1818 + m.x1413/m.x1817)*m.x1810 - m.x810 + m.x811 == 0)
m.c808 = Constraint(expr=-0.5*(m.x1415/m.x1819 + m.x1414/m.x1818)*m.x1810 - m.x811 + m.x812 == 0)
m.c809 = Constraint(expr=-0.5*(m.x1416/m.x1820 + m.x1415/m.x1819)*m.x1810 - m.x812 + m.x813 == 0)
m.c810 = Constraint(expr=-0.5*(m.x1417/m.x1821 + m.x1416/m.x1820)*m.x1810 - m.x813 + m.x814 == 0)
m.c811 = Constraint(expr=-0.5*(m.x1418/m.x1822 + m.x1417/m.x1821)*m.x1810 - m.x814 + m.x815 == 0)
m.c812 = Constraint(expr=-0.5*(m.x1419/m.x1823 + m.x1418/m.x1822)*m.x1810 - m.x815 + m.x816 == 0)
m.c813 = Constraint(expr=-0.5*(m.x1420/m.x1824 + m.x1419/m.x1823)*m.x1810 - m.x816 + m.x817 == 0)
m.c814 = Constraint(expr=-0.5*(m.x1421/m.x1825 + m.x1420/m.x1824)*m.x1810 - m.x817 + m.x818 == 0)
m.c815 = Constraint(expr=-0.5*(m.x1422/m.x1826 + m.x1421/m.x1825)*m.x1810 - m.x818 + m.x819 == 0)
m.c816 = Constraint(expr=-0.5*(m.x1423/m.x1827 + m.x1422/m.x1826)*m.x1810 - m.x819 + m.x820 == 0)
m.c817 = Constraint(expr=-0.5*(m.x1424/m.x1828 + m.x1423/m.x1827)*m.x1810 - m.x820 + m.x821 == 0)
m.c818 = Constraint(expr=-0.5*(m.x1425/m.x1829 + m.x1424/m.x1828)*m.x1810 - m.x821 + m.x822 == 0)
m.c819 = Constraint(expr=-0.5*(m.x1426/m.x1830 + m.x1425/m.x1829)*m.x1810 - m.x822 + m.x823 == 0)
m.c820 = Constraint(expr=-0.5*(m.x1427/m.x1831 + m.x1426/m.x1830)*m.x1810 - m.x823 + m.x824 == 0)
m.c821 = Constraint(expr=-0.5*(m.x1428/m.x1832 + m.x1427/m.x1831)*m.x1810 - m.x824 + m.x825 == 0)
m.c822 = Constraint(expr=-0.5*(m.x1429/m.x1833 + m.x1428/m.x1832)*m.x1810 - m.x825 + m.x826 == 0)
m.c823 = Constraint(expr=-0.5*(m.x1430/m.x1834 + m.x1429/m.x1833)*m.x1810 - m.x826 + m.x827 == 0)
m.c824 = Constraint(expr=-0.5*(m.x1431/m.x1835 + m.x1430/m.x1834)*m.x1810 - m.x827 + m.x828 == 0)
m.c825 = Constraint(expr=-0.5*(m.x1432/m.x1836 + m.x1431/m.x1835)*m.x1810 - m.x828 + m.x829 == 0)
m.c826 = Constraint(expr=-0.5*(m.x1433/m.x1837 + m.x1432/m.x1836)*m.x1810 - m.x829 + m.x830 == 0)
m.c827 = Constraint(expr=-0.5*(m.x1434/m.x1838 + m.x1433/m.x1837)*m.x1810 - m.x830 + m.x831 == 0)
m.c828 = Constraint(expr=-0.5*(m.x1435/m.x1839 + m.x1434/m.x1838)*m.x1810 - m.x831 + m.x832 == 0)
m.c829 = Constraint(expr=-0.5*(m.x1436/m.x1840 + m.x1435/m.x1839)*m.x1810 - m.x832 + m.x833 == 0)
m.c830 = Constraint(expr=-0.5*(m.x1437/m.x1841 + m.x1436/m.x1840)*m.x1810 - m.x833 + m.x834 == 0)
m.c831 = Constraint(expr=-0.5*(m.x1438/m.x1842 + m.x1437/m.x1841)*m.x1810 - m.x834 + m.x835 == 0)
m.c832 = Constraint(expr=-0.5*(m.x1439/m.x1843 + m.x1438/m.x1842)*m.x1810 - m.x835 + m.x836 == 0)
m.c833 = Constraint(expr=-0.5*(m.x1440/m.x1844 + m.x1439/m.x1843)*m.x1810 - m.x836 + m.x837 == 0)
m.c834 = Constraint(expr=-0.5*(m.x1441/m.x1845 + m.x1440/m.x1844)*m.x1810 - m.x837 + m.x838 == 0)
m.c835 = Constraint(expr=-0.5*(m.x1442/m.x1846 + m.x1441/m.x1845)*m.x1810 - m.x838 + m.x839 == 0)
m.c836 = Constraint(expr=-0.5*(m.x1443/m.x1847 + m.x1442/m.x1846)*m.x1810 - m.x839 + m.x840 == 0)
m.c837 = Constraint(expr=-0.5*(m.x1444/m.x1848 + m.x1443/m.x1847)*m.x1810 - m.x840 + m.x841 == 0)
m.c838 = Constraint(expr=-0.5*(m.x1445/m.x1849 + m.x1444/m.x1848)*m.x1810 - m.x841 + m.x842 == 0)
m.c839 = Constraint(expr=-0.5*(m.x1446/m.x1850 + m.x1445/m.x1849)*m.x1810 - m.x842 + m.x843 == 0)
m.c840 = Constraint(expr=-0.5*(m.x1447/m.x1851 + m.x1446/m.x1850)*m.x1810 - m.x843 + m.x844 == 0)
m.c841 = Constraint(expr=-0.5*(m.x1448/m.x1852 + m.x1447/m.x1851)*m.x1810 - m.x844 + m.x845 == 0)
m.c842 = Constraint(expr=-0.5*(m.x1449/m.x1853 + m.x1448/m.x1852)*m.x1810 - m.x845 + m.x846 == 0)
m.c843 = Constraint(expr=-0.5*(m.x1450/m.x1854 + m.x1449/m.x1853)*m.x1810 - m.x846 + m.x847 == 0)
m.c844 = Constraint(expr=-0.5*(m.x1451/m.x1855 + m.x1450/m.x1854)*m.x1810 - m.x847 + m.x848 == 0)
m.c845 = Constraint(expr=-0.5*(m.x1452/m.x1856 + m.x1451/m.x1855)*m.x1810 - m.x848 + m.x849 == 0)
m.c846 = Constraint(expr=-0.5*(m.x1453/m.x1857 + m.x1452/m.x1856)*m.x1810 - m.x849 + m.x850 == 0)
m.c847 = Constraint(expr=-0.5*(m.x1454/m.x1858 + m.x1453/m.x1857)*m.x1810 - m.x850 + m.x851 == 0)
m.c848 = Constraint(expr=-0.5*(m.x1455/m.x1859 + m.x1454/m.x1858)*m.x1810 - m.x851 + m.x852 == 0)
m.c849 = Constraint(expr=-0.5*(m.x1456/m.x1860 + m.x1455/m.x1859)*m.x1810 - m.x852 + m.x853 == 0)
m.c850 = Constraint(expr=-0.5*(m.x1457/m.x1861 + m.x1456/m.x1860)*m.x1810 - m.x853 + m.x854 == 0)
m.c851 = Constraint(expr=-0.5*(m.x1458/m.x1862 + m.x1457/m.x1861)*m.x1810 - m.x854 + m.x855 == 0)
m.c852 = Constraint(expr=-0.5*(m.x1459/m.x1863 + m.x1458/m.x1862)*m.x1810 - m.x855 + m.x856 == 0)
m.c853 = Constraint(expr=-0.5*(m.x1460/m.x1864 + m.x1459/m.x1863)*m.x1810 - m.x856 + m.x857 == 0)
m.c854 = Constraint(expr=-0.5*(m.x1461/m.x1865 + m.x1460/m.x1864)*m.x1810 - m.x857 + m.x858 == 0)
m.c855 = Constraint(expr=-0.5*(m.x1462/m.x1866 + m.x1461/m.x1865)*m.x1810 - m.x858 + m.x859 == 0)
m.c856 = Constraint(expr=-0.5*(m.x1463/m.x1867 + m.x1462/m.x1866)*m.x1810 - m.x859 + m.x860 == 0)
m.c857 = Constraint(expr=-0.5*(m.x1464/m.x1868 + m.x1463/m.x1867)*m.x1810 - m.x860 + m.x861 == 0)
m.c858 = Constraint(expr=-0.5*(m.x1465/m.x1869 + m.x1464/m.x1868)*m.x1810 - m.x861 + m.x862 == 0)
m.c859 = Constraint(expr=-0.5*(m.x1466/m.x1870 + m.x1465/m.x1869)*m.x1810 - m.x862 + m.x863 == 0)
m.c860 = Constraint(expr=-0.5*(m.x1467/m.x1871 + m.x1466/m.x1870)*m.x1810 - m.x863 + m.x864 == 0)
m.c861 = Constraint(expr=-0.5*(m.x1468/m.x1872 + m.x1467/m.x1871)*m.x1810 - m.x864 + m.x865 == 0)
m.c862 = Constraint(expr=-0.5*(m.x1469/m.x1873 + m.x1468/m.x1872)*m.x1810 - m.x865 + m.x866 == 0)
m.c863 = Constraint(expr=-0.5*(m.x1470/m.x1874 + m.x1469/m.x1873)*m.x1810 - m.x866 + m.x867 == 0)
m.c864 = Constraint(expr=-0.5*(m.x1471/m.x1875 + m.x1470/m.x1874)*m.x1810 - m.x867 + m.x868 == 0)
m.c865 = Constraint(expr=-0.5*(m.x1472/m.x1876 + m.x1471/m.x1875)*m.x1810 - m.x868 + m.x869 == 0)
m.c866 = Constraint(expr=-0.5*(m.x1473/m.x1877 + m.x1472/m.x1876)*m.x1810 - m.x869 + m.x870 == 0)
m.c867 = Constraint(expr=-0.5*(m.x1474/m.x1878 + m.x1473/m.x1877)*m.x1810 - m.x870 + m.x871 == 0)
m.c868 = Constraint(expr=-0.5*(m.x1475/m.x1879 + m.x1474/m.x1878)*m.x1810 - m.x871 + m.x872 == 0)
m.c869 = Constraint(expr=-0.5*(m.x1476/m.x1880 + m.x1475/m.x1879)*m.x1810 - m.x872 + m.x873 == 0)
m.c870 = Constraint(expr=-0.5*(m.x1477/m.x1881 + m.x1476/m.x1880)*m.x1810 - m.x873 + m.x874 == 0)
m.c871 = Constraint(expr=-0.5*(m.x1478/m.x1882 + m.x1477/m.x1881)*m.x1810 - m.x874 + m.x875 == 0)
m.c872 = Constraint(expr=-0.5*(m.x1479/m.x1883 + m.x1478/m.x1882)*m.x1810 - m.x875 + m.x876 == 0)
m.c873 = Constraint(expr=-0.5*(m.x1480/m.x1884 + m.x1479/m.x1883)*m.x1810 - m.x876 + m.x877 == 0)
m.c874 = Constraint(expr=-0.5*(m.x1481/m.x1885 + m.x1480/m.x1884)*m.x1810 - m.x877 + m.x878 == 0)
m.c875 = Constraint(expr=-0.5*(m.x1482/m.x1886 + m.x1481/m.x1885)*m.x1810 - m.x878 + m.x879 == 0)
m.c876 = Constraint(expr=-0.5*(m.x1483/m.x1887 + m.x1482/m.x1886)*m.x1810 - m.x879 + m.x880 == 0)
m.c877 = Constraint(expr=-0.5*(m.x1484/m.x1888 + m.x1483/m.x1887)*m.x1810 - m.x880 + m.x881 == 0)
m.c878 = Constraint(expr=-0.5*(m.x1485/m.x1889 + m.x1484/m.x1888)*m.x1810 - m.x881 + m.x882 == 0)
m.c879 = Constraint(expr=-0.5*(m.x1486/m.x1890 + m.x1485/m.x1889)*m.x1810 - m.x882 + m.x883 == 0)
m.c880 = Constraint(expr=-0.5*(m.x1487/m.x1891 + m.x1486/m.x1890)*m.x1810 - m.x883 + m.x884 == 0)
m.c881 = Constraint(expr=-0.5*(m.x1488/m.x1892 + m.x1487/m.x1891)*m.x1810 - m.x884 + m.x885 == 0)
m.c882 = Constraint(expr=-0.5*(m.x1489/m.x1893 + m.x1488/m.x1892)*m.x1810 - m.x885 + m.x886 == 0)
m.c883 = Constraint(expr=-0.5*(m.x1490/m.x1894 + m.x1489/m.x1893)*m.x1810 - m.x886 + m.x887 == 0)
m.c884 = Constraint(expr=-0.5*(m.x1491/m.x1895 + m.x1490/m.x1894)*m.x1810 - m.x887 + m.x888 == 0)
m.c885 = Constraint(expr=-0.5*(m.x1492/m.x1896 + m.x1491/m.x1895)*m.x1810 - m.x888 + m.x889 == 0)
m.c886 = Constraint(expr=-0.5*(m.x1493/m.x1897 + m.x1492/m.x1896)*m.x1810 - m.x889 + m.x890 == 0)
m.c887 = Constraint(expr=-0.5*(m.x1494/m.x1898 + m.x1493/m.x1897)*m.x1810 - m.x890 + m.x891 == 0)
m.c888 = Constraint(expr=-0.5*(m.x1495/m.x1899 + m.x1494/m.x1898)*m.x1810 - m.x891 + m.x892 == 0)
m.c889 = Constraint(expr=-0.5*(m.x1496/m.x1900 + m.x1495/m.x1899)*m.x1810 - m.x892 + m.x893 == 0)
m.c890 = Constraint(expr=-0.5*(m.x1497/m.x1901 + m.x1496/m.x1900)*m.x1810 - m.x893 + m.x894 == 0)
m.c891 = Constraint(expr=-0.5*(m.x1498/m.x1902 + m.x1497/m.x1901)*m.x1810 - m.x894 + m.x895 == 0)
m.c892 = Constraint(expr=-0.5*(m.x1499/m.x1903 + m.x1498/m.x1902)*m.x1810 - m.x895 + m.x896 == 0)
m.c893 = Constraint(expr=-0.5*(m.x1500/m.x1904 + m.x1499/m.x1903)*m.x1810 - m.x896 + m.x897 == 0)
m.c894 = Constraint(expr=-0.5*(m.x1501/m.x1905 + m.x1500/m.x1904)*m.x1810 - m.x897 + m.x898 == 0)
m.c895 = Constraint(expr=-0.5*(m.x1502/m.x1906 + m.x1501/m.x1905)*m.x1810 - m.x898 + m.x899 == 0)
m.c896 = Constraint(expr=-0.5*(m.x1503/m.x1907 + m.x1502/m.x1906)*m.x1810 - m.x899 + m.x900 == 0)
m.c897 = Constraint(expr=-0.5*(m.x1504/m.x1908 + m.x1503/m.x1907)*m.x1810 - m.x900 + m.x901 == 0)
m.c898 = Constraint(expr=-0.5*(m.x1505/m.x1909 + m.x1504/m.x1908)*m.x1810 - m.x901 + m.x902 == 0)
m.c899 = Constraint(expr=-0.5*(m.x1506/m.x1910 + m.x1505/m.x1909)*m.x1810 - m.x902 + m.x903 == 0)
m.c900 = Constraint(expr=-0.5*(m.x1507/m.x1911 + m.x1506/m.x1910)*m.x1810 - m.x903 + m.x904 == 0)
m.c901 = Constraint(expr=-0.5*(m.x1508/m.x1912 + m.x1507/m.x1911)*m.x1810 - m.x904 + m.x905 == 0)
m.c902 = Constraint(expr=-0.5*(m.x1509/m.x1913 + m.x1508/m.x1912)*m.x1810 - m.x905 + m.x906 == 0)
m.c903 = Constraint(expr=-0.5*(m.x1510/m.x1914 + m.x1509/m.x1913)*m.x1810 - m.x906 + m.x907 == 0)
m.c904 = Constraint(expr=-0.5*(m.x1511/m.x1915 + m.x1510/m.x1914)*m.x1810 - m.x907 + m.x908 == 0)
m.c905 = Constraint(expr=-0.5*(m.x1512/m.x1916 + m.x1511/m.x1915)*m.x1810 - m.x908 + m.x909 == 0)
m.c906 = Constraint(expr=-0.5*(m.x1513/m.x1917 + m.x1512/m.x1916)*m.x1810 - m.x909 + m.x910 == 0)
m.c907 = Constraint(expr=-0.5*(m.x1514/m.x1918 + m.x1513/m.x1917)*m.x1810 - m.x910 + m.x911 == 0)
m.c908 = Constraint(expr=-0.5*(m.x1515/m.x1919 + m.x1514/m.x1918)*m.x1810 - m.x911 + m.x912 == 0)
m.c909 = Constraint(expr=-0.5*(m.x1516/m.x1920 + m.x1515/m.x1919)*m.x1810 - m.x912 + m.x913 == 0)
m.c910 = Constraint(expr=-0.5*(m.x1517/m.x1921 + m.x1516/m.x1920)*m.x1810 - m.x913 + m.x914 == 0)
m.c911 = Constraint(expr=-0.5*(m.x1518/m.x1922 + m.x1517/m.x1921)*m.x1810 - m.x914 + m.x915 == 0)
m.c912 = Constraint(expr=-0.5*(m.x1519/m.x1923 + m.x1518/m.x1922)*m.x1810 - m.x915 + m.x916 == 0)
m.c913 = Constraint(expr=-0.5*(m.x1520/m.x1924 + m.x1519/m.x1923)*m.x1810 - m.x916 + m.x917 == 0)
m.c914 = Constraint(expr=-0.5*(m.x1521/m.x1925 + m.x1520/m.x1924)*m.x1810 - m.x917 + m.x918 == 0)
m.c915 = Constraint(expr=-0.5*(m.x1522/m.x1926 + m.x1521/m.x1925)*m.x1810 - m.x918 + m.x919 == 0)
m.c916 = Constraint(expr=-0.5*(m.x1523/m.x1927 + m.x1522/m.x1926)*m.x1810 - m.x919 + m.x920 == 0)
m.c917 = Constraint(expr=-0.5*(m.x1524/m.x1928 + m.x1523/m.x1927)*m.x1810 - m.x920 + m.x921 == 0)
m.c918 = Constraint(expr=-0.5*(m.x1525/m.x1929 + m.x1524/m.x1928)*m.x1810 - m.x921 + m.x922 == 0)
m.c919 = Constraint(expr=-0.5*(m.x1526/m.x1930 + m.x1525/m.x1929)*m.x1810 - m.x922 + m.x923 == 0)
m.c920 = Constraint(expr=-0.5*(m.x1527/m.x1931 + m.x1526/m.x1930)*m.x1810 - m.x923 + m.x924 == 0)
m.c921 = Constraint(expr=-0.5*(m.x1528/m.x1932 + m.x1527/m.x1931)*m.x1810 - m.x924 + m.x925 == 0)
m.c922 = Constraint(expr=-0.5*(m.x1529/m.x1933 + m.x1528/m.x1932)*m.x1810 - m.x925 + m.x926 == 0)
m.c923 = Constraint(expr=-0.5*(m.x1530/m.x1934 + m.x1529/m.x1933)*m.x1810 - m.x926 + m.x927 == 0)
m.c924 = Constraint(expr=-0.5*(m.x1531/m.x1935 + m.x1530/m.x1934)*m.x1810 - m.x927 + m.x928 == 0)
m.c925 = Constraint(expr=-0.5*(m.x1532/m.x1936 + m.x1531/m.x1935)*m.x1810 - m.x928 + m.x929 == 0)
m.c926 = Constraint(expr=-0.5*(m.x1533/m.x1937 + m.x1532/m.x1936)*m.x1810 - m.x929 + m.x930 == 0)
m.c927 = Constraint(expr=-0.5*(m.x1534/m.x1938 + m.x1533/m.x1937)*m.x1810 - m.x930 + m.x931 == 0)
m.c928 = Constraint(expr=-0.5*(m.x1535/m.x1939 + m.x1534/m.x1938)*m.x1810 - m.x931 + m.x932 == 0)
m.c929 = Constraint(expr=-0.5*(m.x1536/m.x1940 + m.x1535/m.x1939)*m.x1810 - m.x932 + m.x933 == 0)
m.c930 = Constraint(expr=-0.5*(m.x1537/m.x1941 + m.x1536/m.x1940)*m.x1810 - m.x933 + m.x934 == 0)
m.c931 = Constraint(expr=-0.5*(m.x1538/m.x1942 + m.x1537/m.x1941)*m.x1810 - m.x934 + m.x935 == 0)
m.c932 = Constraint(expr=-0.5*(m.x1539/m.x1943 + m.x1538/m.x1942)*m.x1810 - m.x935 + m.x936 == 0)
m.c933 = Constraint(expr=-0.5*(m.x1540/m.x1944 + m.x1539/m.x1943)*m.x1810 - m.x936 + m.x937 == 0)
m.c934 = Constraint(expr=-0.5*(m.x1541/m.x1945 + m.x1540/m.x1944)*m.x1810 - m.x937 + m.x938 == 0)
m.c935 = Constraint(expr=-0.5*(m.x1542/m.x1946 + m.x1541/m.x1945)*m.x1810 - m.x938 + m.x939 == 0)
m.c936 = Constraint(expr=-0.5*(m.x1543/m.x1947 + m.x1542/m.x1946)*m.x1810 - m.x939 + m.x940 == 0)
m.c937 = Constraint(expr=-0.5*(m.x1544/m.x1948 + m.x1543/m.x1947)*m.x1810 - m.x940 + m.x941 == 0)
m.c938 = Constraint(expr=-0.5*(m.x1545/m.x1949 + m.x1544/m.x1948)*m.x1810 - m.x941 + m.x942 == 0)
m.c939 = Constraint(expr=-0.5*(m.x1546/m.x1950 + m.x1545/m.x1949)*m.x1810 - m.x942 + m.x943 == 0)
m.c940 = Constraint(expr=-0.5*(m.x1547/m.x1951 + m.x1546/m.x1950)*m.x1810 - m.x943 + m.x944 == 0)
m.c941 = Constraint(expr=-0.5*(m.x1548/m.x1952 + m.x1547/m.x1951)*m.x1810 - m.x944 + m.x945 == 0)
m.c942 = Constraint(expr=-0.5*(m.x1549/m.x1953 + m.x1548/m.x1952)*m.x1810 - m.x945 + m.x946 == 0)
m.c943 = Constraint(expr=-0.5*(m.x1550/m.x1954 + m.x1549/m.x1953)*m.x1810 - m.x946 + m.x947 == 0)
m.c944 = Constraint(expr=-0.5*(m.x1551/m.x1955 + m.x1550/m.x1954)*m.x1810 - m.x947 + m.x948 == 0)
m.c945 = Constraint(expr=-0.5*(m.x1552/m.x1956 + m.x1551/m.x1955)*m.x1810 - m.x948 + m.x949 == 0)
m.c946 = Constraint(expr=-0.5*(m.x1553/m.x1957 + m.x1552/m.x1956)*m.x1810 - m.x949 + m.x950 == 0)
m.c947 = Constraint(expr=-0.5*(m.x1554/m.x1958 + m.x1553/m.x1957)*m.x1810 - m.x950 + m.x951 == 0)
m.c948 = Constraint(expr=-0.5*(m.x1555/m.x1959 + m.x1554/m.x1958)*m.x1810 - m.x951 + m.x952 == 0)
m.c949 = Constraint(expr=-0.5*(m.x1556/m.x1960 + m.x1555/m.x1959)*m.x1810 - m.x952 + m.x953 == 0)
m.c950 = Constraint(expr=-0.5*(m.x1557/m.x1961 + m.x1556/m.x1960)*m.x1810 - m.x953 + m.x954 == 0)
m.c951 = Constraint(expr=-0.5*(m.x1558/m.x1962 + m.x1557/m.x1961)*m.x1810 - m.x954 + m.x955 == 0)
m.c952 = Constraint(expr=-0.5*(m.x1559/m.x1963 + m.x1558/m.x1962)*m.x1810 - m.x955 + m.x956 == 0)
m.c953 = Constraint(expr=-0.5*(m.x1560/m.x1964 + m.x1559/m.x1963)*m.x1810 - m.x956 + m.x957 == 0)
m.c954 = Constraint(expr=-0.5*(m.x1561/m.x1965 + m.x1560/m.x1964)*m.x1810 - m.x957 + m.x958 == 0)
m.c955 = Constraint(expr=-0.5*(m.x1562/m.x1966 + m.x1561/m.x1965)*m.x1810 - m.x958 + m.x959 == 0)
m.c956 = Constraint(expr=-0.5*(m.x1563/m.x1967 + m.x1562/m.x1966)*m.x1810 - m.x959 + m.x960 == 0)
m.c957 = Constraint(expr=-0.5*(m.x1564/m.x1968 + m.x1563/m.x1967)*m.x1810 - m.x960 + m.x961 == 0)
m.c958 = Constraint(expr=-0.5*(m.x1565/m.x1969 + m.x1564/m.x1968)*m.x1810 - m.x961 + m.x962 == 0)
m.c959 = Constraint(expr=-0.5*(m.x1566/m.x1970 + m.x1565/m.x1969)*m.x1810 - m.x962 + m.x963 == 0)
m.c960 = Constraint(expr=-0.5*(m.x1567/m.x1971 + m.x1566/m.x1970)*m.x1810 - m.x963 + m.x964 == 0)
m.c961 = Constraint(expr=-0.5*(m.x1568/m.x1972 + m.x1567/m.x1971)*m.x1810 - m.x964 + m.x965 == 0)
m.c962 = Constraint(expr=-0.5*(m.x1569/m.x1973 + m.x1568/m.x1972)*m.x1810 - m.x965 + m.x966 == 0)
m.c963 = Constraint(expr=-0.5*(m.x1570/m.x1974 + m.x1569/m.x1973)*m.x1810 - m.x966 + m.x967 == 0)
m.c964 = Constraint(expr=-0.5*(m.x1571/m.x1975 + m.x1570/m.x1974)*m.x1810 - m.x967 + m.x968 == 0)
m.c965 = Constraint(expr=-0.5*(m.x1572/m.x1976 + m.x1571/m.x1975)*m.x1810 - m.x968 + m.x969 == 0)
m.c966 = Constraint(expr=-0.5*(m.x1573/m.x1977 + m.x1572/m.x1976)*m.x1810 - m.x969 + m.x970 == 0)
m.c967 = Constraint(expr=-0.5*(m.x1574/m.x1978 + m.x1573/m.x1977)*m.x1810 - m.x970 + m.x971 == 0)
m.c968 = Constraint(expr=-0.5*(m.x1575/m.x1979 + m.x1574/m.x1978)*m.x1810 - m.x971 + m.x972 == 0)
m.c969 = Constraint(expr=-0.5*(m.x1576/m.x1980 + m.x1575/m.x1979)*m.x1810 - m.x972 + m.x973 == 0)
m.c970 = Constraint(expr=-0.5*(m.x1577/m.x1981 + m.x1576/m.x1980)*m.x1810 - m.x973 + m.x974 == 0)
m.c971 = Constraint(expr=-0.5*(m.x1578/m.x1982 + m.x1577/m.x1981)*m.x1810 - m.x974 + m.x975 == 0)
m.c972 = Constraint(expr=-0.5*(m.x1579/m.x1983 + m.x1578/m.x1982)*m.x1810 - m.x975 + m.x976 == 0)
m.c973 = Constraint(expr=-0.5*(m.x1580/m.x1984 + m.x1579/m.x1983)*m.x1810 - m.x976 + m.x977 == 0)
m.c974 = Constraint(expr=-0.5*(m.x1581/m.x1985 + m.x1580/m.x1984)*m.x1810 - m.x977 + m.x978 == 0)
m.c975 = Constraint(expr=-0.5*(m.x1582/m.x1986 + m.x1581/m.x1985)*m.x1810 - m.x978 + m.x979 == 0)
m.c976 = Constraint(expr=-0.5*(m.x1583/m.x1987 + m.x1582/m.x1986)*m.x1810 - m.x979 + m.x980 == 0)
m.c977 = Constraint(expr=-0.5*(m.x1584/m.x1988 + m.x1583/m.x1987)*m.x1810 - m.x980 + m.x981 == 0)
m.c978 = Constraint(expr=-0.5*(m.x1585/m.x1989 + m.x1584/m.x1988)*m.x1810 - m.x981 + m.x982 == 0)
m.c979 = Constraint(expr=-0.5*(m.x1586/m.x1990 + m.x1585/m.x1989)*m.x1810 - m.x982 + m.x983 == 0)
m.c980 = Constraint(expr=-0.5*(m.x1587/m.x1991 + m.x1586/m.x1990)*m.x1810 - m.x983 + m.x984 == 0)
m.c981 = Constraint(expr=-0.5*(m.x1588/m.x1992 + m.x1587/m.x1991)*m.x1810 - m.x984 + m.x985 == 0)
m.c982 = Constraint(expr=-0.5*(m.x1589/m.x1993 + m.x1588/m.x1992)*m.x1810 - m.x985 + m.x986 == 0)
m.c983 = Constraint(expr=-0.5*(m.x1590/m.x1994 + m.x1589/m.x1993)*m.x1810 - m.x986 + m.x987 == 0)
m.c984 = Constraint(expr=-0.5*(m.x1591/m.x1995 + m.x1590/m.x1994)*m.x1810 - m.x987 + m.x988 == 0)
m.c985 = Constraint(expr=-0.5*(m.x1592/m.x1996 + m.x1591/m.x1995)*m.x1810 - m.x988 + m.x989 == 0)
m.c986 = Constraint(expr=-0.5*(m.x1593/m.x1997 + m.x1592/m.x1996)*m.x1810 - m.x989 + m.x990 == 0)
m.c987 = Constraint(expr=-0.5*(m.x1594/m.x1998 + m.x1593/m.x1997)*m.x1810 - m.x990 + m.x991 == 0)
m.c988 = Constraint(expr=-0.5*(m.x1595/m.x1999 + m.x1594/m.x1998)*m.x1810 - m.x991 + m.x992 == 0)
m.c989 = Constraint(expr=-0.5*(m.x1596/m.x2000 + m.x1595/m.x1999)*m.x1810 - m.x992 + m.x993 == 0)
m.c990 = Constraint(expr=-0.5*(m.x1597/m.x2001 + m.x1596/m.x2000)*m.x1810 - m.x993 + m.x994 == 0)
m.c991 = Constraint(expr=-0.5*(m.x1598/m.x2002 + m.x1597/m.x2001)*m.x1810 - m.x994 + m.x995 == 0)
m.c992 = Constraint(expr=-0.5*(m.x1599/m.x2003 + m.x1598/m.x2002)*m.x1810 - m.x995 + m.x996 == 0)
m.c993 = Constraint(expr=-0.5*(m.x1600/m.x2004 + m.x1599/m.x2003)*m.x1810 - m.x996 + m.x997 == 0)
m.c994 = Constraint(expr=-0.5*(m.x1601/m.x2005 + m.x1600/m.x2004)*m.x1810 - m.x997 + m.x998 == 0)
m.c995 = Constraint(expr=-0.5*(m.x1602/m.x2006 + m.x1601/m.x2005)*m.x1810 - m.x998 + m.x999 == 0)
m.c996 = Constraint(expr=-0.5*(m.x1603/m.x2007 + m.x1602/m.x2006)*m.x1810 - m.x999 + m.x1000 == 0)
m.c997 = Constraint(expr=-0.5*(m.x1604/m.x2008 + m.x1603/m.x2007)*m.x1810 - m.x1000 + m.x1001 == 0)
m.c998 = Constraint(expr=-0.5*(m.x1605/m.x2009 + m.x1604/m.x2008)*m.x1810 - m.x1001 + m.x1002 == 0)
m.c999 = Constraint(expr=-0.5*(m.x1606/m.x2010 + m.x1605/m.x2009)*m.x1810 - m.x1002 + m.x1003 == 0)
m.c1000 = Constraint(expr=-0.5*(m.x1607/m.x2011 + m.x1606/m.x2010)*m.x1810 - m.x1003 + m.x1004 == 0)
m.c1001 = Constraint(expr=-0.5*(m.x1608/m.x2012 + m.x1607/m.x2011)*m.x1810 - m.x1004 + m.x1005 == 0)
m.c1002 = Constraint(expr=-0.5*(m.x1610/m.x2014 + m.x1609/m.x2013)*m.x1810 - m.x1006 + m.x1007 == 0)
m.c1003 = Constraint(expr=-0.5*(m.x1611/m.x2015 + m.x1610/m.x2014)*m.x1810 - m.x1007 + m.x1008 == 0)
m.c1004 = Constraint(expr=-0.5*(m.x1612/m.x2016 + m.x1611/m.x2015)*m.x1810 - m.x1008 + m.x1009 == 0)
m.c1005 = Constraint(expr=-0.5*(m.x1613/m.x2017 + m.x1612/m.x2016)*m.x1810 - m.x1009 + m.x1010 == 0)
m.c1006 = Constraint(expr=-0.5*(m.x1614/m.x2018 + m.x1613/m.x2017)*m.x1810 - m.x1010 + m.x1011 == 0)
m.c1007 = Constraint(expr=-0.5*(m.x1615/m.x2019 + m.x1614/m.x2018)*m.x1810 - m.x1011 + m.x1012 == 0)
m.c1008 = Constraint(expr=-0.5*(m.x1616/m.x2020 + m.x1615/m.x2019)*m.x1810 - m.x1012 + m.x1013 == 0)
m.c1009 = Constraint(expr=-0.5*(m.x1617/m.x2021 + m.x1616/m.x2020)*m.x1810 - m.x1013 + m.x1014 == 0)
m.c1010 = Constraint(expr=-0.5*(m.x1618/m.x2022 + m.x1617/m.x2021)*m.x1810 - m.x1014 + m.x1015 == 0)
m.c1011 = Constraint(expr=-0.5*(m.x1619/m.x2023 + m.x1618/m.x2022)*m.x1810 - m.x1015 + m.x1016 == 0)
m.c1012 = Constraint(expr=-0.5*(m.x1620/m.x2024 + m.x1619/m.x2023)*m.x1810 - m.x1016 + m.x1017 == 0)
m.c1013 = Constraint(expr=-0.5*(m.x1621/m.x2025 + m.x1620/m.x2024)*m.x1810 - m.x1017 + m.x1018 == 0)
m.c1014 = Constraint(expr=-0.5*(m.x1622/m.x2026 + m.x1621/m.x2025)*m.x1810 - m.x1018 + m.x1019 == 0)
m.c1015 = Constraint(expr=-0.5*(m.x1623/m.x2027 + m.x1622/m.x2026)*m.x1810 - m.x1019 + m.x1020 == 0)
m.c1016 = Constraint(expr=-0.5*(m.x1624/m.x2028 + m.x1623/m.x2027)*m.x1810 - m.x1020 + m.x1021 == 0)
m.c1017 = Constraint(expr=-0.5*(m.x1625/m.x2029 + m.x1624/m.x2028)*m.x1810 - m.x1021 + m.x1022 == 0)
m.c1018 = Constraint(expr=-0.5*(m.x1626/m.x2030 + m.x1625/m.x2029)*m.x1810 - m.x1022 + m.x1023 == 0)
m.c1019 = Constraint(expr=-0.5*(m.x1627/m.x2031 + m.x1626/m.x2030)*m.x1810 - m.x1023 + m.x1024 == 0)
m.c1020 = Constraint(expr=-0.5*(m.x1628/m.x2032 + m.x1627/m.x2031)*m.x1810 - m.x1024 + m.x1025 == 0)
m.c1021 = Constraint(expr=-0.5*(m.x1629/m.x2033 + m.x1628/m.x2032)*m.x1810 - m.x1025 + m.x1026 == 0)
m.c1022 = Constraint(expr=-0.5*(m.x1630/m.x2034 + m.x1629/m.x2033)*m.x1810 - m.x1026 + m.x1027 == 0)
m.c1023 = Constraint(expr=-0.5*(m.x1631/m.x2035 + m.x1630/m.x2034)*m.x1810 - m.x1027 + m.x1028 == 0)
m.c1024 = Constraint(expr=-0.5*(m.x1632/m.x2036 + m.x1631/m.x2035)*m.x1810 - m.x1028 + m.x1029 == 0)
m.c1025 = Constraint(expr=-0.5*(m.x1633/m.x2037 + m.x1632/m.x2036)*m.x1810 - m.x1029 + m.x1030 == 0)
m.c1026 = Constraint(expr=-0.5*(m.x1634/m.x2038 + m.x1633/m.x2037)*m.x1810 - m.x1030 + m.x1031 == 0)
m.c1027 = Constraint(expr=-0.5*(m.x1635/m.x2039 + m.x1634/m.x2038)*m.x1810 - m.x1031 + m.x1032 == 0)
m.c1028 = Constraint(expr=-0.5*(m.x1636/m.x2040 + m.x1635/m.x2039)*m.x1810 - m.x1032 + m.x1033 == 0)
m.c1029 = Constraint(expr=-0.5*(m.x1637/m.x2041 + m.x1636/m.x2040)*m.x1810 - m.x1033 + m.x1034 == 0)
m.c1030 = Constraint(expr=-0.5*(m.x1638/m.x2042 + m.x1637/m.x2041)*m.x1810 - m.x1034 + m.x1035 == 0)
m.c1031 = Constraint(expr=-0.5*(m.x1639/m.x2043 + m.x1638/m.x2042)*m.x1810 - m.x1035 + m.x1036 == 0)
m.c1032 = Constraint(expr=-0.5*(m.x1640/m.x2044 + m.x1639/m.x2043)*m.x1810 - m.x1036 + m.x1037 == 0)
m.c1033 = Constraint(expr=-0.5*(m.x1641/m.x2045 + m.x1640/m.x2044)*m.x1810 - m.x1037 + m.x1038 == 0)
m.c1034 = Constraint(expr=-0.5*(m.x1642/m.x2046 + m.x1641/m.x2045)*m.x1810 - m.x1038 + m.x1039 == 0)
m.c1035 = Constraint(expr=-0.5*(m.x1643/m.x2047 + m.x1642/m.x2046)*m.x1810 - m.x1039 + m.x1040 == 0)
m.c1036 = Constraint(expr=-0.5*(m.x1644/m.x2048 + m.x1643/m.x2047)*m.x1810 - m.x1040 + m.x1041 == 0)
m.c1037 = Constraint(expr=-0.5*(m.x1645/m.x2049 + m.x1644/m.x2048)*m.x1810 - m.x1041 + m.x1042 == 0)
m.c1038 = Constraint(expr=-0.5*(m.x1646/m.x2050 + m.x1645/m.x2049)*m.x1810 - m.x1042 + m.x1043 == 0)
m.c1039 = Constraint(expr=-0.5*(m.x1647/m.x2051 + m.x1646/m.x2050)*m.x1810 - m.x1043 + m.x1044 == 0)
m.c1040 = Constraint(expr=-0.5*(m.x1648/m.x2052 + m.x1647/m.x2051)*m.x1810 - m.x1044 + m.x1045 == 0)
m.c1041 = Constraint(expr=-0.5*(m.x1649/m.x2053 + m.x1648/m.x2052)*m.x1810 - m.x1045 + m.x1046 == 0)
m.c1042 = Constraint(expr=-0.5*(m.x1650/m.x2054 + m.x1649/m.x2053)*m.x1810 - m.x1046 + m.x1047 == 0)
m.c1043 = Constraint(expr=-0.5*(m.x1651/m.x2055 + m.x1650/m.x2054)*m.x1810 - m.x1047 + m.x1048 == 0)
m.c1044 = Constraint(expr=-0.5*(m.x1652/m.x2056 + m.x1651/m.x2055)*m.x1810 - m.x1048 + m.x1049 == 0)
m.c1045 = Constraint(expr=-0.5*(m.x1653/m.x2057 + m.x1652/m.x2056)*m.x1810 - m.x1049 + m.x1050 == 0)
m.c1046 = Constraint(expr=-0.5*(m.x1654/m.x2058 + m.x1653/m.x2057)*m.x1810 - m.x1050 + m.x1051 == 0)
m.c1047 = Constraint(expr=-0.5*(m.x1655/m.x2059 + m.x1654/m.x2058)*m.x1810 - m.x1051 + m.x1052 == 0)
m.c1048 = Constraint(expr=-0.5*(m.x1656/m.x2060 + m.x1655/m.x2059)*m.x1810 - m.x1052 + m.x1053 == 0)
m.c1049 = Constraint(expr=-0.5*(m.x1657/m.x2061 + m.x1656/m.x2060)*m.x1810 - m.x1053 + m.x1054 == 0)
m.c1050 = Constraint(expr=-0.5*(m.x1658/m.x2062 + m.x1657/m.x2061)*m.x1810 - m.x1054 + m.x1055 == 0)
m.c1051 = Constraint(expr=-0.5*(m.x1659/m.x2063 + m.x1658/m.x2062)*m.x1810 - m.x1055 + m.x1056 == 0)
m.c1052 = Constraint(expr=-0.5*(m.x1660/m.x2064 + m.x1659/m.x2063)*m.x1810 - m.x1056 + m.x1057 == 0)
m.c1053 = Constraint(expr=-0.5*(m.x1661/m.x2065 + m.x1660/m.x2064)*m.x1810 - m.x1057 + m.x1058 == 0)
m.c1054 = Constraint(expr=-0.5*(m.x1662/m.x2066 + m.x1661/m.x2065)*m.x1810 - m.x1058 + m.x1059 == 0)
m.c1055 = Constraint(expr=-0.5*(m.x1663/m.x2067 + m.x1662/m.x2066)*m.x1810 - m.x1059 + m.x1060 == 0)
m.c1056 = Constraint(expr=-0.5*(m.x1664/m.x2068 + m.x1663/m.x2067)*m.x1810 - m.x1060 + m.x1061 == 0)
m.c1057 = Constraint(expr=-0.5*(m.x1665/m.x2069 + m.x1664/m.x2068)*m.x1810 - m.x1061 + m.x1062 == 0)
m.c1058 = Constraint(expr=-0.5*(m.x1666/m.x2070 + m.x1665/m.x2069)*m.x1810 - m.x1062 + m.x1063 == 0)
m.c1059 = Constraint(expr=-0.5*(m.x1667/m.x2071 + m.x1666/m.x2070)*m.x1810 - m.x1063 + m.x1064 == 0)
m.c1060 = Constraint(expr=-0.5*(m.x1668/m.x2072 + m.x1667/m.x2071)*m.x1810 - m.x1064 + m.x1065 == 0)
m.c1061 = Constraint(expr=-0.5*(m.x1669/m.x2073 + m.x1668/m.x2072)*m.x1810 - m.x1065 + m.x1066 == 0)
m.c1062 = Constraint(expr=-0.5*(m.x1670/m.x2074 + m.x1669/m.x2073)*m.x1810 - m.x1066 + m.x1067 == 0)
m.c1063 = Constraint(expr=-0.5*(m.x1671/m.x2075 + m.x1670/m.x2074)*m.x1810 - m.x1067 + m.x1068 == 0)
m.c1064 = Constraint(expr=-0.5*(m.x1672/m.x2076 + m.x1671/m.x2075)*m.x1810 - m.x1068 + m.x1069 == 0)
m.c1065 = Constraint(expr=-0.5*(m.x1673/m.x2077 + m.x1672/m.x2076)*m.x1810 - m.x1069 + m.x1070 == 0)
m.c1066 = Constraint(expr=-0.5*(m.x1674/m.x2078 + m.x1673/m.x2077)*m.x1810 - m.x1070 + m.x1071 == 0)
m.c1067 = Constraint(expr=-0.5*(m.x1675/m.x2079 + m.x1674/m.x2078)*m.x1810 - m.x1071 + m.x1072 == 0)
m.c1068 = Constraint(expr=-0.5*(m.x1676/m.x2080 + m.x1675/m.x2079)*m.x1810 - m.x1072 + m.x1073 == 0)
m.c1069 = Constraint(expr=-0.5*(m.x1677/m.x2081 + m.x1676/m.x2080)*m.x1810 - m.x1073 + m.x1074 == 0)
m.c1070 = Constraint(expr=-0.5*(m.x1678/m.x2082 + m.x1677/m.x2081)*m.x1810 - m.x1074 + m.x1075 == 0)
m.c1071 = Constraint(expr=-0.5*(m.x1679/m.x2083 + m.x1678/m.x2082)*m.x1810 - m.x1075 + m.x1076 == 0)
m.c1072 = Constraint(expr=-0.5*(m.x1680/m.x2084 + m.x1679/m.x2083)*m.x1810 - m.x1076 + m.x1077 == 0)
m.c1073 = Constraint(expr=-0.5*(m.x1681/m.x2085 + m.x1680/m.x2084)*m.x1810 - m.x1077 + m.x1078 == 0)
m.c1074 = Constraint(expr=-0.5*(m.x1682/m.x2086 + m.x1681/m.x2085)*m.x1810 - m.x1078 + m.x1079 == 0)
m.c1075 = Constraint(expr=-0.5*(m.x1683/m.x2087 + m.x1682/m.x2086)*m.x1810 - m.x1079 + m.x1080 == 0)
m.c1076 = Constraint(expr=-0.5*(m.x1684/m.x2088 + m.x1683/m.x2087)*m.x1810 - m.x1080 + m.x1081 == 0)
m.c1077 = Constraint(expr=-0.5*(m.x1685/m.x2089 + m.x1684/m.x2088)*m.x1810 - m.x1081 + m.x1082 == 0)
m.c1078 = Constraint(expr=-0.5*(m.x1686/m.x2090 + m.x1685/m.x2089)*m.x1810 - m.x1082 + m.x1083 == 0)
m.c1079 = Constraint(expr=-0.5*(m.x1687/m.x2091 + m.x1686/m.x2090)*m.x1810 - m.x1083 + m.x1084 == 0)
m.c1080 = Constraint(expr=-0.5*(m.x1688/m.x2092 + m.x1687/m.x2091)*m.x1810 - m.x1084 + m.x1085 == 0)
m.c1081 = Constraint(expr=-0.5*(m.x1689/m.x2093 + m.x1688/m.x2092)*m.x1810 - m.x1085 + m.x1086 == 0)
m.c1082 = Constraint(expr=-0.5*(m.x1690/m.x2094 + m.x1689/m.x2093)*m.x1810 - m.x1086 + m.x1087 == 0)
m.c1083 = Constraint(expr=-0.5*(m.x1691/m.x2095 + m.x1690/m.x2094)*m.x1810 - m.x1087 + m.x1088 == 0)
m.c1084 = Constraint(expr=-0.5*(m.x1692/m.x2096 + m.x1691/m.x2095)*m.x1810 - m.x1088 + m.x1089 == 0)
m.c1085 = Constraint(expr=-0.5*(m.x1693/m.x2097 + m.x1692/m.x2096)*m.x1810 - m.x1089 + m.x1090 == 0)
m.c1086 = Constraint(expr=-0.5*(m.x1694/m.x2098 + m.x1693/m.x2097)*m.x1810 - m.x1090 + m.x1091 == 0)
m.c1087 = Constraint(expr=-0.5*(m.x1695/m.x2099 + m.x1694/m.x2098)*m.x1810 - m.x1091 + m.x1092 == 0)
m.c1088 = Constraint(expr=-0.5*(m.x1696/m.x2100 + m.x1695/m.x2099)*m.x1810 - m.x1092 + m.x1093 == 0)
m.c1089 = Constraint(expr=-0.5*(m.x1697/m.x2101 + m.x1696/m.x2100)*m.x1810 - m.x1093 + m.x1094 == 0)
m.c1090 = Constraint(expr=-0.5*(m.x1698/m.x2102 + m.x1697/m.x2101)*m.x1810 - m.x1094 + m.x1095 == 0)
m.c1091 = Constraint(expr=-0.5*(m.x1699/m.x2103 + m.x1698/m.x2102)*m.x1810 - m.x1095 + m.x1096 == 0)
m.c1092 = Constraint(expr=-0.5*(m.x1700/m.x2104 + m.x1699/m.x2103)*m.x1810 - m.x1096 + m.x1097 == 0)
m.c1093 = Constraint(expr=-0.5*(m.x1701/m.x2105 + m.x1700/m.x2104)*m.x1810 - m.x1097 + m.x1098 == 0)
m.c1094 = Constraint(expr=-0.5*(m.x1702/m.x2106 + m.x1701/m.x2105)*m.x1810 - m.x1098 + m.x1099 == 0)
m.c1095 = Constraint(expr=-0.5*(m.x1703/m.x2107 + m.x1702/m.x2106)*m.x1810 - m.x1099 + m.x1100 == 0)
m.c1096 = Constraint(expr=-0.5*(m.x1704/m.x2108 + m.x1703/m.x2107)*m.x1810 - m.x1100 + m.x1101 == 0)
m.c1097 = Constraint(expr=-0.5*(m.x1705/m.x2109 + m.x1704/m.x2108)*m.x1810 - m.x1101 + m.x1102 == 0)
m.c1098 = Constraint(expr=-0.5*(m.x1706/m.x2110 + m.x1705/m.x2109)*m.x1810 - m.x1102 + m.x1103 == 0)
m.c1099 = Constraint(expr=-0.5*(m.x1707/m.x2111 + m.x1706/m.x2110)*m.x1810 - m.x1103 + m.x1104 == 0)
m.c1100 = Constraint(expr=-0.5*(m.x1708/m.x2112 + m.x1707/m.x2111)*m.x1810 - m.x1104 + m.x1105 == 0)
m.c1101 = Constraint(expr=-0.5*(m.x1709/m.x2113 + m.x1708/m.x2112)*m.x1810 - m.x1105 + m.x1106 == 0)
m.c1102 = Constraint(expr=-0.5*(m.x1710/m.x2114 + m.x1709/m.x2113)*m.x1810 - m.x1106 + m.x1107 == 0)
m.c1103 = Constraint(expr=-0.5*(m.x1711/m.x2115 + m.x1710/m.x2114)*m.x1810 - m.x1107 + m.x1108 == 0)
m.c1104 = Constraint(expr=-0.5*(m.x1712/m.x2116 + m.x1711/m.x2115)*m.x1810 - m.x1108 + m.x1109 == 0)
m.c1105 = Constraint(expr=-0.5*(m.x1713/m.x2117 + m.x1712/m.x2116)*m.x1810 - m.x1109 + m.x1110 == 0)
m.c1106 = Constraint(expr=-0.5*(m.x1714/m.x2118 + m.x1713/m.x2117)*m.x1810 - m.x1110 + m.x1111 == 0)
m.c1107 = Constraint(expr=-0.5*(m.x1715/m.x2119 + m.x1714/m.x2118)*m.x1810 - m.x1111 + m.x1112 == 0)
m.c1108 = Constraint(expr=-0.5*(m.x1716/m.x2120 + m.x1715/m.x2119)*m.x1810 - m.x1112 + m.x1113 == 0)
m.c1109 = Constraint(expr=-0.5*(m.x1717/m.x2121 + m.x1716/m.x2120)*m.x1810 - m.x1113 + m.x1114 == 0)
m.c1110 = Constraint(expr=-0.5*(m.x1718/m.x2122 + m.x1717/m.x2121)*m.x1810 - m.x1114 + m.x1115 == 0)
m.c1111 = Constraint(expr=-0.5*(m.x1719/m.x2123 + m.x1718/m.x2122)*m.x1810 - m.x1115 + m.x1116 == 0)
m.c1112 = Constraint(expr=-0.5*(m.x1720/m.x2124 + m.x1719/m.x2123)*m.x1810 - m.x1116 + m.x1117 == 0)
m.c1113 = Constraint(expr=-0.5*(m.x1721/m.x2125 + m.x1720/m.x2124)*m.x1810 - m.x1117 + m.x1118 == 0)
m.c1114 = Constraint(expr=-0.5*(m.x1722/m.x2126 + m.x1721/m.x2125)*m.x1810 - m.x1118 + m.x1119 == 0)
m.c1115 = Constraint(expr=-0.5*(m.x1723/m.x2127 + m.x1722/m.x2126)*m.x1810 - m.x1119 + m.x1120 == 0)
m.c1116 = Constraint(expr=-0.5*(m.x1724/m.x2128 + m.x1723/m.x2127)*m.x1810 - m.x1120 + m.x1121 == 0)
m.c1117 = Constraint(expr=-0.5*(m.x1725/m.x2129 + m.x1724/m.x2128)*m.x1810 - m.x1121 + m.x1122 == 0)
m.c1118 = Constraint(expr=-0.5*(m.x1726/m.x2130 + m.x1725/m.x2129)*m.x1810 - m.x1122 + m.x1123 == 0)
m.c1119 = Constraint(expr=-0.5*(m.x1727/m.x2131 + m.x1726/m.x2130)*m.x1810 - m.x1123 + m.x1124 == 0)
m.c1120 = Constraint(expr=-0.5*(m.x1728/m.x2132 + m.x1727/m.x2131)*m.x1810 - m.x1124 + m.x1125 == 0)
m.c1121 = Constraint(expr=-0.5*(m.x1729/m.x2133 + m.x1728/m.x2132)*m.x1810 - m.x1125 + m.x1126 == 0)
m.c1122 = Constraint(expr=-0.5*(m.x1730/m.x2134 + m.x1729/m.x2133)*m.x1810 - m.x1126 + m.x1127 == 0)
m.c1123 = Constraint(expr=-0.5*(m.x1731/m.x2135 + m.x1730/m.x2134)*m.x1810 - m.x1127 + m.x1128 == 0)
m.c1124 = Constraint(expr=-0.5*(m.x1732/m.x2136 + m.x1731/m.x2135)*m.x1810 - m.x1128 + m.x1129 == 0)
m.c1125 = Constraint(expr=-0.5*(m.x1733/m.x2137 + m.x1732/m.x2136)*m.x1810 - m.x1129 + m.x1130 == 0)
m.c1126 = Constraint(expr=-0.5*(m.x1734/m.x2138 + m.x1733/m.x2137)*m.x1810 - m.x1130 + m.x1131 == 0)
m.c1127 = Constraint(expr=-0.5*(m.x1735/m.x2139 + m.x1734/m.x2138)*m.x1810 - m.x1131 + m.x1132 == 0)
m.c1128 = Constraint(expr=-0.5*(m.x1736/m.x2140 + m.x1735/m.x2139)*m.x1810 - m.x1132 + m.x1133 == 0)
m.c1129 = Constraint(expr=-0.5*(m.x1737/m.x2141 + m.x1736/m.x2140)*m.x1810 - m.x1133 + m.x1134 == 0)
m.c1130 = Constraint(expr=-0.5*(m.x1738/m.x2142 + m.x1737/m.x2141)*m.x1810 - m.x1134 + m.x1135 == 0)
m.c1131 = Constraint(expr=-0.5*(m.x1739/m.x2143 + m.x1738/m.x2142)*m.x1810 - m.x1135 + m.x1136 == 0)
m.c1132 = Constraint(expr=-0.5*(m.x1740/m.x2144 + m.x1739/m.x2143)*m.x1810 - m.x1136 + m.x1137 == 0)
m.c1133 = Constraint(expr=-0.5*(m.x1741/m.x2145 + m.x1740/m.x2144)*m.x1810 - m.x1137 + m.x1138 == 0)
m.c1134 = Constraint(expr=-0.5*(m.x1742/m.x2146 + m.x1741/m.x2145)*m.x1810 - m.x1138 + m.x1139 == 0)
m.c1135 = Constraint(expr=-0.5*(m.x1743/m.x2147 + m.x1742/m.x2146)*m.x1810 - m.x1139 + m.x1140 == 0)
m.c1136 = Constraint(expr=-0.5*(m.x1744/m.x2148 + m.x1743/m.x2147)*m.x1810 - m.x1140 + m.x1141 == 0)
m.c1137 = Constraint(expr=-0.5*(m.x1745/m.x2149 + m.x1744/m.x2148)*m.x1810 - m.x1141 + m.x1142 == 0)
m.c1138 = Constraint(expr=-0.5*(m.x1746/m.x2150 + m.x1745/m.x2149)*m.x1810 - m.x1142 + m.x1143 == 0)
m.c1139 = Constraint(expr=-0.5*(m.x1747/m.x2151 + m.x1746/m.x2150)*m.x1810 - m.x1143 + m.x1144 == 0)
m.c1140 = Constraint(expr=-0.5*(m.x1748/m.x2152 + m.x1747/m.x2151)*m.x1810 - m.x1144 + m.x1145 == 0)
m.c1141 = Constraint(expr=-0.5*(m.x1749/m.x2153 + m.x1748/m.x2152)*m.x1810 - m.x1145 + m.x1146 == 0)
m.c1142 = Constraint(expr=-0.5*(m.x1750/m.x2154 + m.x1749/m.x2153)*m.x1810 - m.x1146 + m.x1147 == 0)
m.c1143 = Constraint(expr=-0.5*(m.x1751/m.x2155 + m.x1750/m.x2154)*m.x1810 - m.x1147 + m.x1148 == 0)
m.c1144 = Constraint(expr=-0.5*(m.x1752/m.x2156 + m.x1751/m.x2155)*m.x1810 - m.x1148 + m.x1149 == 0)
m.c1145 = Constraint(expr=-0.5*(m.x1753/m.x2157 + m.x1752/m.x2156)*m.x1810 - m.x1149 + m.x1150 == 0)
m.c1146 = Constraint(expr=-0.5*(m.x1754/m.x2158 + m.x1753/m.x2157)*m.x1810 - m.x1150 + m.x1151 == 0)
m.c1147 = Constraint(expr=-0.5*(m.x1755/m.x2159 + m.x1754/m.x2158)*m.x1810 - m.x1151 + m.x1152 == 0)
m.c1148 = Constraint(expr=-0.5*(m.x1756/m.x2160 + m.x1755/m.x2159)*m.x1810 - m.x1152 + m.x1153 == 0)
m.c1149 = Constraint(expr=-0.5*(m.x1757/m.x2161 + m.x1756/m.x2160)*m.x1810 - m.x1153 + m.x1154 == 0)
m.c1150 = Constraint(expr=-0.5*(m.x1758/m.x2162 + m.x1757/m.x2161)*m.x1810 - m.x1154 + m.x1155 == 0)
m.c1151 = Constraint(expr=-0.5*(m.x1759/m.x2163 + m.x1758/m.x2162)*m.x1810 - m.x1155 + m.x1156 == 0)
m.c1152 = Constraint(expr=-0.5*(m.x1760/m.x2164 + m.x1759/m.x2163)*m.x1810 - m.x1156 + m.x1157 == 0)
m.c1153 = Constraint(expr=-0.5*(m.x1761/m.x2165 + m.x1760/m.x2164)*m.x1810 - m.x1157 + m.x1158 == 0)
m.c1154 = Constraint(expr=-0.5*(m.x1762/m.x2166 + m.x1761/m.x2165)*m.x1810 - m.x1158 + m.x1159 == 0)
m.c1155 = Constraint(expr=-0.5*(m.x1763/m.x2167 + m.x1762/m.x2166)*m.x1810 - m.x1159 + m.x1160 == 0)
m.c1156 = Constraint(expr=-0.5*(m.x1764/m.x2168 + m.x1763/m.x2167)*m.x1810 - m.x1160 + m.x1161 == 0)
m.c1157 = Constraint(expr=-0.5*(m.x1765/m.x2169 + m.x1764/m.x2168)*m.x1810 - m.x1161 + m.x1162 == 0)
m.c1158 = Constraint(expr=-0.5*(m.x1766/m.x2170 + m.x1765/m.x2169)*m.x1810 - m.x1162 + m.x1163 == 0)
m.c1159 = Constraint(expr=-0.5*(m.x1767/m.x2171 + m.x1766/m.x2170)*m.x1810 - m.x1163 + m.x1164 == 0)
m.c1160 = Constraint(expr=-0.5*(m.x1768/m.x2172 + m.x1767/m.x2171)*m.x1810 - m.x1164 + m.x1165 == 0)
m.c1161 = Constraint(expr=-0.5*(m.x1769/m.x2173 + m.x1768/m.x2172)*m.x1810 - m.x1165 + m.x1166 == 0)
m.c1162 = Constraint(expr=-0.5*(m.x1770/m.x2174 + m.x1769/m.x2173)*m.x1810 - m.x1166 + m.x1167 == 0)
m.c1163 = Constraint(expr=-0.5*(m.x1771/m.x2175 + m.x1770/m.x2174)*m.x1810 - m.x1167 + m.x1168 == 0)
m.c1164 = Constraint(expr=-0.5*(m.x1772/m.x2176 + m.x1771/m.x2175)*m.x1810 - m.x1168 + m.x1169 == 0)
m.c1165 = Constraint(expr=-0.5*(m.x1773/m.x2177 + m.x1772/m.x2176)*m.x1810 - m.x1169 + m.x1170 == 0)
m.c1166 = Constraint(expr=-0.5*(m.x1774/m.x2178 + m.x1773/m.x2177)*m.x1810 - m.x1170 + m.x1171 == 0)
m.c1167 = Constraint(expr=-0.5*(m.x1775/m.x2179 + m.x1774/m.x2178)*m.x1810 - m.x1171 + m.x1172 == 0)
m.c1168 = Constraint(expr=-0.5*(m.x1776/m.x2180 + m.x1775/m.x2179)*m.x1810 - m.x1172 + m.x1173 == 0)
m.c1169 = Constraint(expr=-0.5*(m.x1777/m.x2181 + m.x1776/m.x2180)*m.x1810 - m.x1173 + m.x1174 == 0)
m.c1170 = Constraint(expr=-0.5*(m.x1778/m.x2182 + m.x1777/m.x2181)*m.x1810 - m.x1174 + m.x1175 == 0)
m.c1171 = Constraint(expr=-0.5*(m.x1779/m.x2183 + m.x1778/m.x2182)*m.x1810 - m.x1175 + m.x1176 == 0)
m.c1172 = Constraint(expr=-0.5*(m.x1780/m.x2184 + m.x1779/m.x2183)*m.x1810 - m.x1176 + m.x1177 == 0)
m.c1173 = Constraint(expr=-0.5*(m.x1781/m.x2185 + m.x1780/m.x2184)*m.x1810 - m.x1177 + m.x1178 == 0)
m.c1174 = Constraint(expr=-0.5*(m.x1782/m.x2186 + m.x1781/m.x2185)*m.x1810 - m.x1178 + m.x1179 == 0)
m.c1175 = Constraint(expr=-0.5*(m.x1783/m.x2187 + m.x1782/m.x2186)*m.x1810 - m.x1179 + m.x1180 == 0)
m.c1176 = Constraint(expr=-0.5*(m.x1784/m.x2188 + m.x1783/m.x2187)*m.x1810 - m.x1180 + m.x1181 == 0)
m.c1177 = Constraint(expr=-0.5*(m.x1785/m.x2189 + m.x1784/m.x2188)*m.x1810 - m.x1181 + m.x1182 == 0)
m.c1178 = Constraint(expr=-0.5*(m.x1786/m.x2190 + m.x1785/m.x2189)*m.x1810 - m.x1182 + m.x1183 == 0)
m.c1179 = Constraint(expr=-0.5*(m.x1787/m.x2191 + m.x1786/m.x2190)*m.x1810 - m.x1183 + m.x1184 == 0)
m.c1180 = Constraint(expr=-0.5*(m.x1788/m.x2192 + m.x1787/m.x2191)*m.x1810 - m.x1184 + m.x1185 == 0)
m.c1181 = Constraint(expr=-0.5*(m.x1789/m.x2193 + m.x1788/m.x2192)*m.x1810 - m.x1185 + m.x1186 == 0)
m.c1182 = Constraint(expr=-0.5*(m.x1790/m.x2194 + m.x1789/m.x2193)*m.x1810 - m.x1186 + m.x1187 == 0)
m.c1183 = Constraint(expr=-0.5*(m.x1791/m.x2195 + m.x1790/m.x2194)*m.x1810 - m.x1187 + m.x1188 == 0)
m.c1184 = Constraint(expr=-0.5*(m.x1792/m.x2196 + m.x1791/m.x2195)*m.x1810 - m.x1188 + m.x1189 == 0)
m.c1185 = Constraint(expr=-0.5*(m.x1793/m.x2197 + m.x1792/m.x2196)*m.x1810 - m.x1189 + m.x1190 == 0)
m.c1186 = Constraint(expr=-0.5*(m.x1794/m.x2198 + m.x1793/m.x2197)*m.x1810 - m.x1190 + m.x1191 == 0)
m.c1187 = Constraint(expr=-0.5*(m.x1795/m.x2199 + m.x1794/m.x2198)*m.x1810 - m.x1191 + m.x1192 == 0)
m.c1188 = Constraint(expr=-0.5*(m.x1796/m.x2200 + m.x1795/m.x2199)*m.x1810 - m.x1192 + m.x1193 == 0)
m.c1189 = Constraint(expr=-0.5*(m.x1797/m.x2201 + m.x1796/m.x2200)*m.x1810 - m.x1193 + m.x1194 == 0)
m.c1190 = Constraint(expr=-0.5*(m.x1798/m.x2202 + m.x1797/m.x2201)*m.x1810 - m.x1194 + m.x1195 == 0)
m.c1191 = Constraint(expr=-0.5*(m.x1799/m.x2203 + m.x1798/m.x2202)*m.x1810 - m.x1195 + m.x1196 == 0)
m.c1192 = Constraint(expr=-0.5*(m.x1800/m.x2204 + m.x1799/m.x2203)*m.x1810 - m.x1196 + m.x1197 == 0)
m.c1193 = Constraint(expr=-0.5*(m.x1801/m.x2205 + m.x1800/m.x2204)*m.x1810 - m.x1197 + m.x1198 == 0)
m.c1194 = Constraint(expr=-0.5*(m.x1802/m.x2206 + m.x1801/m.x2205)*m.x1810 - m.x1198 + m.x1199 == 0)
m.c1195 = Constraint(expr=-0.5*(m.x1803/m.x2207 + m.x1802/m.x2206)*m.x1810 - m.x1199 + m.x1200 == 0)
m.c1196 = Constraint(expr=-0.5*(m.x1804/m.x2208 + m.x1803/m.x2207)*m.x1810 - m.x1200 + m.x1201 == 0)
m.c1197 = Constraint(expr=-0.5*(m.x1805/m.x2209 + m.x1804/m.x2208)*m.x1810 - m.x1201 + m.x1202 == 0)
m.c1198 = Constraint(expr=-0.5*(m.x1806/m.x2210 + m.x1805/m.x2209)*m.x1810 - m.x1202 + m.x1203 == 0)
m.c1199 = Constraint(expr=-0.5*(m.x1807/m.x2211 + m.x1806/m.x2210)*m.x1810 - m.x1203 + m.x1204 == 0)
m.c1200 = Constraint(expr=-0.5*(m.x1808/m.x2212 + m.x1807/m.x2211)*m.x1810 - m.x1204 + m.x1205 == 0)
m.c1201 = Constraint(expr=-0.5*(m.x1809/m.x2213 + m.x1808/m.x2212)*m.x1810 - m.x1205 + m.x1206 == 0)
m.c1202 = Constraint(expr=-sin(m.x403)**2*m.x2013 + m.x1812 == 0)
m.c1203 = Constraint(expr=-sin(m.x404)**2*m.x2014 + m.x1813 == 0)
m.c1204 = Constraint(expr=-sin(m.x405)**2*m.x2015 + m.x1814 == 0)
m.c1205 = Constraint(expr=-sin(m.x406)**2*m.x2016 + m.x1815 == 0)
m.c1206 = Constraint(expr=-sin(m.x407)**2*m.x2017 + m.x1816 == 0)
m.c1207 = Constraint(expr=-sin(m.x408)**2*m.x2018 + m.x1817 == 0)
m.c1208 = Constraint(expr=-sin(m.x409)**2*m.x2019 + m.x1818 == 0)
m.c1209 = Constraint(expr=-sin(m.x410)**2*m.x2020 + m.x1819 == 0)
m.c1210 = Constraint(expr=-sin(m.x411)**2*m.x2021 + m.x1820 == 0)
m.c1211 = Constraint(expr=-sin(m.x412)**2*m.x2022 + m.x1821 == 0)
m.c1212 = Constraint(expr=-sin(m.x413)**2*m.x2023 + m.x1822 == 0)
m.c1213 = Constraint(expr=-sin(m.x414)**2*m.x2024 + m.x1823 == 0)
m.c1214 = Constraint(expr=-sin(m.x415)**2*m.x2025 + m.x1824 == 0)
m.c1215 = Constraint(expr=-sin(m.x416)**2*m.x2026 + m.x1825 == 0)
m.c1216 = Constraint(expr=-sin(m.x417)**2*m.x2027 + m.x1826 == 0)
m.c1217 = Constraint(expr=-sin(m.x418)**2*m.x2028 + m.x1827 == 0)
m.c1218 = Constraint(expr=-sin(m.x419)**2*m.x2029 + m.x1828 == 0)
m.c1219 = Constraint(expr=-sin(m.x420)**2*m.x2030 + m.x1829 == 0)
m.c1220 = Constraint(expr=-sin(m.x421)**2*m.x2031 + m.x1830 == 0)
m.c1221 = Constraint(expr=-sin(m.x422)**2*m.x2032 + m.x1831 == 0)
m.c1222 = Constraint(expr=-sin(m.x423)**2*m.x2033 + m.x1832 == 0)
m.c1223 = Constraint(expr=-sin(m.x424)**2*m.x2034 + m.x1833 == 0)
m.c1224 = Constraint(expr=-sin(m.x425)**2*m.x2035 + m.x1834 == 0)
m.c1225 = Constraint(expr=-sin(m.x426)**2*m.x2036 + m.x1835 == 0)
m.c1226 = Constraint(expr=-sin(m.x427)**2*m.x2037 + m.x1836 == 0)
m.c1227 = Constraint(expr=-sin(m.x428)**2*m.x2038 + m.x1837 == 0)
m.c1228 = Constraint(expr=-sin(m.x429)**2*m.x2039 + m.x1838 == 0)
m.c1229 = Constraint(expr=-sin(m.x430)**2*m.x2040 + m.x1839 == 0)
m.c1230 = Constraint(expr=-sin(m.x431)**2*m.x2041 + m.x1840 == 0)
m.c1231 = Constraint(expr=-sin(m.x432)**2*m.x2042 + m.x1841 == 0)
m.c1232 = Constraint(expr=-sin(m.x433)**2*m.x2043 + m.x1842 == 0)
m.c1233 = Constraint(expr=-sin(m.x434)**2*m.x2044 + m.x1843 == 0)
m.c1234 = Constraint(expr=-sin(m.x435)**2*m.x2045 + m.x1844 == 0)
m.c1235 = Constraint(expr=-sin(m.x436)**2*m.x2046 + m.x1845 == 0)
m.c1236 = Constraint(expr=-sin(m.x437)**2*m.x2047 + m.x1846 == 0)
m.c1237 = Constraint(expr=-sin(m.x438)**2*m.x2048 + m.x1847 == 0)
m.c1238 = Constraint(expr=-sin(m.x439)**2*m.x2049 + m.x1848 == 0)
m.c1239 = Constraint(expr=-sin(m.x440)**2*m.x2050 + m.x1849 == 0)
m.c1240 = Constraint(expr=-sin(m.x441)**2*m.x2051 + m.x1850 == 0)
m.c1241 = Constraint(expr=-sin(m.x442)**2*m.x2052 + m.x1851 == 0)
m.c1242 = Constraint(expr=-sin(m.x443)**2*m.x2053 + m.x1852 == 0)
m.c1243 = Constraint(expr=-sin(m.x444)**2*m.x2054 + m.x1853 == 0)
m.c1244 = Constraint(expr=-sin(m.x445)**2*m.x2055 + m.x1854 == 0)
m.c1245 = Constraint(expr=-sin(m.x446)**2*m.x2056 + m.x1855 == 0)
m.c1246 = Constraint(expr=-sin(m.x447)**2*m.x2057 + m.x1856 == 0)
m.c1247 = Constraint(expr=-sin(m.x448)**2*m.x2058 + m.x1857 == 0)
m.c1248 = Constraint(expr=-sin(m.x449)**2*m.x2059 + m.x1858 == 0)
m.c1249 = Constraint(expr=-sin(m.x450)**2*m.x2060 + m.x1859 == 0)
m.c1250 = Constraint(expr=-sin(m.x451)**2*m.x2061 + m.x1860 == 0)
m.c1251 = Constraint(expr=-sin(m.x452)**2*m.x2062 + m.x1861 == 0)
m.c1252 = Constraint(expr=-sin(m.x453)**2*m.x2063 + m.x1862 == 0)
m.c1253 = Constraint(expr=-sin(m.x454)**2*m.x2064 + m.x1863 == 0)
m.c1254 = Constraint(expr=-sin(m.x455)**2*m.x2065 + m.x1864 == 0)
m.c1255 = Constraint(expr=-sin(m.x456)**2*m.x2066 + m.x1865 == 0)
m.c1256 = Constraint(expr=-sin(m.x457)**2*m.x2067 + m.x1866 == 0)
m.c1257 = Constraint(expr=-sin(m.x458)**2*m.x2068 + m.x1867 == 0)
m.c1258 = Constraint(expr=-sin(m.x459)**2*m.x2069 + m.x1868 == 0)
m.c1259 = Constraint(expr=-sin(m.x460)**2*m.x2070 + m.x1869 == 0)
m.c1260 = Constraint(expr=-sin(m.x461)**2*m.x2071 + m.x1870 == 0)
m.c1261 = Constraint(expr=-sin(m.x462)**2*m.x2072 + m.x1871 == 0)
m.c1262 = Constraint(expr=-sin(m.x463)**2*m.x2073 + m.x1872 == 0)
m.c1263 = Constraint(expr=-sin(m.x464)**2*m.x2074 + m.x1873 == 0)
m.c1264 = Constraint(expr=-sin(m.x465)**2*m.x2075 + m.x1874 == 0)
m.c1265 = Constraint(expr=-sin(m.x466)**2*m.x2076 + m.x1875 == 0)
m.c1266 = Constraint(expr=-sin(m.x467)**2*m.x2077 + m.x1876 == 0)
m.c1267 = Constraint(expr=-sin(m.x468)**2*m.x2078 + m.x1877 == 0)
m.c1268 = Constraint(expr=-sin(m.x469)**2*m.x2079 + m.x1878 == 0)
m.c1269 = Constraint(expr=-sin(m.x470)**2*m.x2080 + m.x1879 == 0)
m.c1270 = Constraint(expr=-sin(m.x471)**2*m.x2081 + m.x1880 == 0)
m.c1271 = Constraint(expr=-sin(m.x472)**2*m.x2082 + m.x1881 == 0)
m.c1272 = Constraint(expr=-sin(m.x473)**2*m.x2083 + m.x1882 == 0)
m.c1273 = Constraint(expr=-sin(m.x474)**2*m.x2084 + m.x1883 == 0)
m.c1274 = Constraint(expr=-sin(m.x475)**2*m.x2085 + m.x1884 == 0)
m.c1275 = Constraint(expr=-sin(m.x476)**2*m.x2086 + m.x1885 == 0)
m.c1276 = Constraint(expr=-sin(m.x477)**2*m.x2087 + m.x1886 == 0)
m.c1277 = Constraint(expr=-sin(m.x478)**2*m.x2088 + m.x1887 == 0)
m.c1278 = Constraint(expr=-sin(m.x479)**2*m.x2089 + m.x1888 == 0)
m.c1279 = Constraint(expr=-sin(m.x480)**2*m.x2090 + m.x1889 == 0)
m.c1280 = Constraint(expr=-sin(m.x481)**2*m.x2091 + m.x1890 == 0)
m.c1281 = Constraint(expr=-sin(m.x482)**2*m.x2092 + m.x1891 == 0)
m.c1282 = Constraint(expr=-sin(m.x483)**2*m.x2093 + m.x1892 == 0)
m.c1283 = Constraint(expr=-sin(m.x484)**2*m.x2094 + m.x1893 == 0)
m.c1284 = Constraint(expr=-sin(m.x485)**2*m.x2095 + m.x1894 == 0)
m.c1285 = Constraint(expr=-sin(m.x486)**2*m.x2096 + m.x1895 == 0)
m.c1286 = Constraint(expr=-sin(m.x487)**2*m.x2097 + m.x1896 == 0)
m.c1287 = Constraint(expr=-sin(m.x488)**2*m.x2098 + m.x1897 == 0)
m.c1288 = Constraint(expr=-sin(m.x489)**2*m.x2099 + m.x1898 == 0)
m.c1289 = Constraint(expr=-sin(m.x490)**2*m.x2100 + m.x1899 == 0)
m.c1290 = Constraint(expr=-sin(m.x491)**2*m.x2101 + m.x1900 == 0)
m.c1291 = Constraint(expr=-sin(m.x492)**2*m.x2102 + m.x1901 == 0)
m.c1292 = Constraint(expr=-sin(m.x493)**2*m.x2103 + m.x1902 == 0)
m.c1293 = Constraint(expr=-sin(m.x494)**2*m.x2104 + m.x1903 == 0)
m.c1294 = Constraint(expr=-sin(m.x495)**2*m.x2105 + m.x1904 == 0)
m.c1295 = Constraint(expr=-sin(m.x496)**2*m.x2106 + m.x1905 == 0)
m.c1296 = Constraint(expr=-sin(m.x497)**2*m.x2107 + m.x1906 == 0)
m.c1297 = Constraint(expr=-sin(m.x498)**2*m.x2108 + m.x1907 == 0)
m.c1298 = Constraint(expr=-sin(m.x499)**2*m.x2109 + m.x1908 == 0)
m.c1299 = Constraint(expr=-sin(m.x500)**2*m.x2110 + m.x1909 == 0)
m.c1300 = Constraint(expr=-sin(m.x501)**2*m.x2111 + m.x1910 == 0)
m.c1301 = Constraint(expr=-sin(m.x502)**2*m.x2112 + m.x1911 == 0)
m.c1302 = Constraint(expr=-sin(m.x503)**2*m.x2113 + m.x1912 == 0)
m.c1303 = Constraint(expr=-sin(m.x504)**2*m.x2114 + m.x1913 == 0)
m.c1304 = Constraint(expr=-sin(m.x505)**2*m.x2115 + m.x1914 == 0)
m.c1305 = Constraint(expr=-sin(m.x506)**2*m.x2116 + m.x1915 == 0)
m.c1306 = Constraint(expr=-sin(m.x507)**2*m.x2117 + m.x1916 == 0)
m.c1307 = Constraint(expr=-sin(m.x508)**2*m.x2118 + m.x1917 == 0)
m.c1308 = Constraint(expr=-sin(m.x509)**2*m.x2119 + m.x1918 == 0)
m.c1309 = Constraint(expr=-sin(m.x510)**2*m.x2120 + m.x1919 == 0)
m.c1310 = Constraint(expr=-sin(m.x511)**2*m.x2121 + m.x1920 == 0)
m.c1311 = Constraint(expr=-sin(m.x512)**2*m.x2122 + m.x1921 == 0)
m.c1312 = Constraint(expr=-sin(m.x513)**2*m.x2123 + m.x1922 == 0)
m.c1313 = Constraint(expr=-sin(m.x514)**2*m.x2124 + m.x1923 == 0)
m.c1314 = Constraint(expr=-sin(m.x515)**2*m.x2125 + m.x1924 == 0)
m.c1315 = Constraint(expr=-sin(m.x516)**2*m.x2126 + m.x1925 == 0)
m.c1316 = Constraint(expr=-sin(m.x517)**2*m.x2127 + m.x1926 == 0)
m.c1317 = Constraint(expr=-sin(m.x518)**2*m.x2128 + m.x1927 == 0)
m.c1318 = Constraint(expr=-sin(m.x519)**2*m.x2129 + m.x1928 == 0)
m.c1319 = Constraint(expr=-sin(m.x520)**2*m.x2130 + m.x1929 == 0)
m.c1320 = Constraint(expr=-sin(m.x521)**2*m.x2131 + m.x1930 == 0)
m.c1321 = Constraint(expr=-sin(m.x522)**2*m.x2132 + m.x1931 == 0)
m.c1322 = Constraint(expr=-sin(m.x523)**2*m.x2133 + m.x1932 == 0)
m.c1323 = Constraint(expr=-sin(m.x524)**2*m.x2134 + m.x1933 == 0)
m.c1324 = Constraint(expr=-sin(m.x525)**2*m.x2135 + m.x1934 == 0)
m.c1325 = Constraint(expr=-sin(m.x526)**2*m.x2136 + m.x1935 == 0)
m.c1326 = Constraint(expr=-sin(m.x527)**2*m.x2137 + m.x1936 == 0)
m.c1327 = Constraint(expr=-sin(m.x528)**2*m.x2138 + m.x1937 == 0)
m.c1328 = Constraint(expr=-sin(m.x529)**2*m.x2139 + m.x1938 == 0)
m.c1329 = Constraint(expr=-sin(m.x530)**2*m.x2140 + m.x1939 == 0)
m.c1330 = Constraint(expr=-sin(m.x531)**2*m.x2141 + m.x1940 == 0)
m.c1331 = Constraint(expr=-sin(m.x532)**2*m.x2142 + m.x1941 == 0)
m.c1332 = Constraint(expr=-sin(m.x533)**2*m.x2143 + m.x1942 == 0)
m.c1333 = Constraint(expr=-sin(m.x534)**2*m.x2144 + m.x1943 == 0)
m.c1334 = Constraint(expr=-sin(m.x535)**2*m.x2145 + m.x1944 == 0)
m.c1335 = Constraint(expr=-sin(m.x536)**2*m.x2146 + m.x1945 == 0)
m.c1336 = Constraint(expr=-sin(m.x537)**2*m.x2147 + m.x1946 == 0)
m.c1337 = Constraint(expr=-sin(m.x538)**2*m.x2148 + m.x1947 == 0)
m.c1338 = Constraint(expr=-sin(m.x539)**2*m.x2149 + m.x1948 == 0)
m.c1339 = Constraint(expr=-sin(m.x540)**2*m.x2150 + m.x1949 == 0)
m.c1340 = Constraint(expr=-sin(m.x541)**2*m.x2151 + m.x1950 == 0)
m.c1341 = Constraint(expr=-sin(m.x542)**2*m.x2152 + m.x1951 == 0)
m.c1342 = Constraint(expr=-sin(m.x543)**2*m.x2153 + m.x1952 == 0)
m.c1343 = Constraint(expr=-sin(m.x544)**2*m.x2154 + m.x1953 == 0)
m.c1344 = Constraint(expr=-sin(m.x545)**2*m.x2155 + m.x1954 == 0)
m.c1345 = Constraint(expr=-sin(m.x546)**2*m.x2156 + m.x1955 == 0)
m.c1346 = Constraint(expr=-sin(m.x547)**2*m.x2157 + m.x1956 == 0)
m.c1347 = Constraint(expr=-sin(m.x548)**2*m.x2158 + m.x1957 == 0)
m.c1348 = Constraint(expr=-sin(m.x549)**2*m.x2159 + m.x1958 == 0)
m.c1349 = Constraint(expr=-sin(m.x550)**2*m.x2160 + m.x1959 == 0)
m.c1350 = Constraint(expr=-sin(m.x551)**2*m.x2161 + m.x1960 == 0)
m.c1351 = Constraint(expr=-sin(m.x552)**2*m.x2162 + m.x1961 == 0)
m.c1352 = Constraint(expr=-sin(m.x553)**2*m.x2163 + m.x1962 == 0)
m.c1353 = Constraint(expr=-sin(m.x554)**2*m.x2164 + m.x1963 == 0)
m.c1354 = Constraint(expr=-sin(m.x555)**2*m.x2165 + m.x1964 == 0)
m.c1355 = Constraint(expr=-sin(m.x556)**2*m.x2166 + m.x1965 == 0)
m.c1356 = Constraint(expr=-sin(m.x557)**2*m.x2167 + m.x1966 == 0)
m.c1357 = Constraint(expr=-sin(m.x558)**2*m.x2168 + m.x1967 == 0)
m.c1358 = Constraint(expr=-sin(m.x559)**2*m.x2169 + m.x1968 == 0)
m.c1359 = Constraint(expr=-sin(m.x560)**2*m.x2170 + m.x1969 == 0)
m.c1360 = Constraint(expr=-sin(m.x561)**2*m.x2171 + m.x1970 == 0)
m.c1361 = Constraint(expr=-sin(m.x562)**2*m.x2172 + m.x1971 == 0)
m.c1362 = Constraint(expr=-sin(m.x563)**2*m.x2173 + m.x1972 == 0)
m.c1363 = Constraint(expr=-sin(m.x564)**2*m.x2174 + m.x1973 == 0)
m.c1364 = Constraint(expr=-sin(m.x565)**2*m.x2175 + m.x1974 == 0)
m.c1365 = Constraint(expr=-sin(m.x566)**2*m.x2176 + m.x1975 == 0)
m.c1366 = Constraint(expr=-sin(m.x567)**2*m.x2177 + m.x1976 == 0)
m.c1367 = Constraint(expr=-sin(m.x568)**2*m.x2178 + m.x1977 == 0)
m.c1368 = Constraint(expr=-sin(m.x569)**2*m.x2179 + m.x1978 == 0)
m.c1369 = Constraint(expr=-sin(m.x570)**2*m.x2180 + m.x1979 == 0)
m.c1370 = Constraint(expr=-sin(m.x571)**2*m.x2181 + m.x1980 == 0)
m.c1371 = Constraint(expr=-sin(m.x572)**2*m.x2182 + m.x1981 == 0)
m.c1372 = Constraint(expr=-sin(m.x573)**2*m.x2183 + m.x1982 == 0)
m.c1373 = Constraint(expr=-sin(m.x574)**2*m.x2184 + m.x1983 == 0)
m.c1374 = Constraint(expr=-sin(m.x575)**2*m.x2185 + m.x1984 == 0)
m.c1375 = Constraint(expr=-sin(m.x576)**2*m.x2186 + m.x1985 == 0)
m.c1376 = Constraint(expr=-sin(m.x577)**2*m.x2187 + m.x1986 == 0)
m.c1377 = Constraint(expr=-sin(m.x578)**2*m.x2188 + m.x1987 == 0)
m.c1378 = Constraint(expr=-sin(m.x579)**2*m.x2189 + m.x1988 == 0)
m.c1379 = Constraint(expr=-sin(m.x580)**2*m.x2190 + m.x1989 == 0)
m.c1380 = Constraint(expr=-sin(m.x581)**2*m.x2191 + m.x1990 == 0)
m.c1381 = Constraint(expr=-sin(m.x582)**2*m.x2192 + m.x1991 == 0)
m.c1382 = Constraint(expr=-sin(m.x583)**2*m.x2193 + m.x1992 == 0)
m.c1383 = Constraint(expr=-sin(m.x584)**2*m.x2194 + m.x1993 == 0)
m.c1384 = Constraint(expr=-sin(m.x585)**2*m.x2195 + m.x1994 == 0)
m.c1385 = Constraint(expr=-sin(m.x586)**2*m.x2196 + m.x1995 == 0)
m.c1386 = Constraint(expr=-sin(m.x587)**2*m.x2197 + m.x1996 == 0)
m.c1387 = Constraint(expr=-sin(m.x588)**2*m.x2198 + m.x1997 == 0)
m.c1388 = Constraint(expr=-sin(m.x589)**2*m.x2199 + m.x1998 == 0)
m.c1389 = Constraint(expr=-sin(m.x590)**2*m.x2200 + m.x1999 == 0)
m.c1390 = Constraint(expr=-sin(m.x591)**2*m.x2201 + m.x2000 == 0)
m.c1391 = Constraint(expr=-sin(m.x592)**2*m.x2202 + m.x2001 == 0)
m.c1392 = Constraint(expr=-sin(m.x593)**2*m.x2203 + m.x2002 == 0)
m.c1393 = Constraint(expr=-sin(m.x594)**2*m.x2204 + m.x2003 == 0)
m.c1394 = Constraint(expr=-sin(m.x595)**2*m.x2205 + m.x2004 == 0)
m.c1395 = Constraint(expr=-sin(m.x596)**2*m.x2206 + m.x2005 == 0)
m.c1396 = Constraint(expr=-sin(m.x597)**2*m.x2207 + m.x2006 == 0)
m.c1397 = Constraint(expr=-sin(m.x598)**2*m.x2208 + m.x2007 == 0)
m.c1398 = Constraint(expr=-sin(m.x599)**2*m.x2209 + m.x2008 == 0)
m.c1399 = Constraint(expr=-sin(m.x600)**2*m.x2210 + m.x2009 == 0)
m.c1400 = Constraint(expr=-sin(m.x601)**2*m.x2211 + m.x2010 == 0)
m.c1401 = Constraint(expr=-sin(m.x602)**2*m.x2212 + m.x2011 == 0)
m.c1402 = Constraint(expr=-sin(m.x603)**2*m.x2213 + m.x2012 == 0)
m.c1403 = Constraint(expr=-0.333333333333333*((5 - m.x1)**3 + m.x1**3) + m.x2013 == 0)
m.c1404 = Constraint(expr=-0.333333333333333*((5 - m.x2)**3 + m.x2**3) + m.x2014 == 0)
m.c1405 = Constraint(expr=-0.333333333333333*((5 - m.x3)**3 + m.x3**3) + m.x2015 == 0)
m.c1406 = Constraint(expr=-0.333333333333333*((5 - m.x4)**3 + m.x4**3) + m.x2016 == 0)
m.c1407 = Constraint(expr=-0.333333333333333*((5 - m.x5)**3 + m.x5**3) + m.x2017 == 0)
m.c1408 = Constraint(expr=-0.333333333333333*((5 - m.x6)**3 + m.x6**3) + m.x2018 == 0)
m.c1409 = Constraint(expr=-0.333333333333333*((5 - m.x7)**3 + m.x7**3) + m.x2019 == 0)
m.c1410 = Constraint(expr=-0.333333333333333*((5 - m.x8)**3 + m.x8**3) + m.x2020 == 0)
m.c1411 = Constraint(expr=-0.333333333333333*((5 - m.x9)**3 + m.x9**3) + m.x2021 == 0)
m.c1412 = Constraint(expr=-0.333333333333333*((5 - m.x10)**3 + m.x10**3) + m.x2022 == 0)
m.c1413 = Constraint(expr=-0.333333333333333*((5 - m.x11)**3 + m.x11**3) + m.x2023 == 0)
m.c1414 = Constraint(expr=-0.333333333333333*((5 - m.x12)**3 + m.x12**3) + m.x2024 == 0)
m.c1415 = Constraint(expr=-0.333333333333333*((5 - m.x13)**3 + m.x13**3) + m.x2025 == 0)
m.c1416 = Constraint(expr=-0.333333333333333*((5 - m.x14)**3 + m.x14**3) + m.x2026 == 0)
m.c1417 = Constraint(expr=-0.333333333333333*((5 - m.x15)**3 + m.x15**3) + m.x2027 == 0)
m.c1418 = Constraint(expr=-0.333333333333333*((5 - m.x16)**3 + m.x16**3) + m.x2028 == 0)
m.c1419 = Constraint(expr=-0.333333333333333*((5 - m.x17)**3 + m.x17**3) + m.x2029 == 0)
m.c1420 = Constraint(expr=-0.333333333333333*((5 - m.x18)**3 + m.x18**3) + m.x2030 == 0)
m.c1421 = Constraint(expr=-0.333333333333333*((5 - m.x19)**3 + m.x19**3) + m.x2031 == 0)
m.c1422 = Constraint(expr=-0.333333333333333*((5 - m.x20)**3 + m.x20**3) + m.x2032 == 0)
m.c1423 = Constraint(expr=-0.333333333333333*((5 - m.x21)**3 + m.x21**3) + m.x2033 == 0)
m.c1424 = Constraint(expr=-0.333333333333333*((5 - m.x22)**3 + m.x22**3) + m.x2034 == 0)
m.c1425 = Constraint(expr=-0.333333333333333*((5 - m.x23)**3 + m.x23**3) + m.x2035 == 0)
m.c1426 = Constraint(expr=-0.333333333333333*((5 - m.x24)**3 + m.x24**3) + m.x2036 == 0)
m.c1427 = Constraint(expr=-0.333333333333333*((5 - m.x25)**3 + m.x25**3) + m.x2037 == 0)
m.c1428 = Constraint(expr=-0.333333333333333*((5 - m.x26)**3 + m.x26**3) + m.x2038 == 0)
m.c1429 = Constraint(expr=-0.333333333333333*((5 - m.x27)**3 + m.x27**3) + m.x2039 == 0)
m.c1430 = Constraint(expr=-0.333333333333333*((5 - m.x28)**3 + m.x28**3) + m.x2040 == 0)
m.c1431 = Constraint(expr=-0.333333333333333*((5 - m.x29)**3 + m.x29**3) + m.x2041 == 0)
m.c1432 = Constraint(expr=-0.333333333333333*((5 - m.x30)**3 + m.x30**3) + m.x2042 == 0)
m.c1433 = Constraint(expr=-0.333333333333333*((5 - m.x31)**3 + m.x31**3) + m.x2043 == 0)
m.c1434 = Constraint(expr=-0.333333333333333*((5 - m.x32)**3 + m.x32**3) + m.x2044 == 0)
m.c1435 = Constraint(expr=-0.333333333333333*((5 - m.x33)**3 + m.x33**3) + m.x2045 == 0)
m.c1436 = Constraint(expr=-0.333333333333333*((5 - m.x34)**3 + m.x34**3) + m.x2046 == 0)
m.c1437 = Constraint(expr=-0.333333333333333*((5 - m.x35)**3 + m.x35**3) + m.x2047 == 0)
m.c1438 = Constraint(expr=-0.333333333333333*((5 - m.x36)**3 + m.x36**3) + m.x2048 == 0)
m.c1439 = Constraint(expr=-0.333333333333333*((5 - m.x37)**3 + m.x37**3) + m.x2049 == 0)
m.c1440 = Constraint(expr=-0.333333333333333*((5 - m.x38)**3 + m.x38**3) + m.x2050 == 0)
m.c1441 = Constraint(expr=-0.333333333333333*((5 - m.x39)**3 + m.x39**3) + m.x2051 == 0)
m.c1442 = Constraint(expr=-0.333333333333333*((5 - m.x40)**3 + m.x40**3) + m.x2052 == 0)
m.c1443 = Constraint(expr=-0.333333333333333*((5 - m.x41)**3 + m.x41**3) + m.x2053 == 0)
m.c1444 = Constraint(expr=-0.333333333333333*((5 - m.x42)**3 + m.x42**3) + m.x2054 == 0)
m.c1445 = Constraint(expr=-0.333333333333333*((5 - m.x43)**3 + m.x43**3) + m.x2055 == 0)
m.c1446 = Constraint(expr=-0.333333333333333*((5 - m.x44)**3 + m.x44**3) + m.x2056 == 0)
m.c1447 = Constraint(expr=-0.333333333333333*((5 - m.x45)**3 + m.x45**3) + m.x2057 == 0)
m.c1448 = Constraint(expr=-0.333333333333333*((5 - m.x46)**3 + m.x46**3) + m.x2058 == 0)
m.c1449 = Constraint(expr=-0.333333333333333*((5 - m.x47)**3 + m.x47**3) + m.x2059 == 0)
m.c1450 = Constraint(expr=-0.333333333333333*((5 - m.x48)**3 + m.x48**3) + m.x2060 == 0)
m.c1451 = Constraint(expr=-0.333333333333333*((5 - m.x49)**3 + m.x49**3) + m.x2061 == 0)
m.c1452 = Constraint(expr=-0.333333333333333*((5 - m.x50)**3 + m.x50**3) + m.x2062 == 0)
m.c1453 = Constraint(expr=-0.333333333333333*((5 - m.x51)**3 + m.x51**3) + m.x2063 == 0)
m.c1454 = Constraint(expr=-0.333333333333333*((5 - m.x52)**3 + m.x52**3) + m.x2064 == 0)
m.c1455 = Constraint(expr=-0.333333333333333*((5 - m.x53)**3 + m.x53**3) + m.x2065 == 0)
m.c1456 = Constraint(expr=-0.333333333333333*((5 - m.x54)**3 + m.x54**3) + m.x2066 == 0)
m.c1457 = Constraint(expr=-0.333333333333333*((5 - m.x55)**3 + m.x55**3) + m.x2067 == 0)
m.c1458 = Constraint(expr=-0.333333333333333*((5 - m.x56)**3 + m.x56**3) + m.x2068 == 0)
m.c1459 = Constraint(expr=-0.333333333333333*((5 - m.x57)**3 + m.x57**3) + m.x2069 == 0)
m.c1460 = Constraint(expr=-0.333333333333333*((5 - m.x58)**3 + m.x58**3) + m.x2070 == 0)
m.c1461 = Constraint(expr=-0.333333333333333*((5 - m.x59)**3 + m.x59**3) + m.x2071 == 0)
m.c1462 = Constraint(expr=-0.333333333333333*((5 - m.x60)**3 + m.x60**3) + m.x2072 == 0)
m.c1463 = Constraint(expr=-0.333333333333333*((5 - m.x61)**3 + m.x61**3) + m.x2073 == 0)
m.c1464 = Constraint(expr=-0.333333333333333*((5 - m.x62)**3 + m.x62**3) + m.x2074 == 0)
m.c1465 = Constraint(expr=-0.333333333333333*((5 - m.x63)**3 + m.x63**3) + m.x2075 == 0)
m.c1466 = Constraint(expr=-0.333333333333333*((5 - m.x64)**3 + m.x64**3) + m.x2076 == 0)
m.c1467 = Constraint(expr=-0.333333333333333*((5 - m.x65)**3 + m.x65**3) + m.x2077 == 0)
m.c1468 = Constraint(expr=-0.333333333333333*((5 - m.x66)**3 + m.x66**3) + m.x2078 == 0)
m.c1469 = Constraint(expr=-0.333333333333333*((5 - m.x67)**3 + m.x67**3) + m.x2079 == 0)
m.c1470 = Constraint(expr=-0.333333333333333*((5 - m.x68)**3 + m.x68**3) + m.x2080 == 0)
m.c1471 = Constraint(expr=-0.333333333333333*((5 - m.x69)**3 + m.x69**3) + m.x2081 == 0)
m.c1472 = Constraint(expr=-0.333333333333333*((5 - m.x70)**3 + m.x70**3) + m.x2082 == 0)
m.c1473 = Constraint(expr=-0.333333333333333*((5 - m.x71)**3 + m.x71**3) + m.x2083 == 0)
m.c1474 = Constraint(expr=-0.333333333333333*((5 - m.x72)**3 + m.x72**3) + m.x2084 == 0)
m.c1475 = Constraint(expr=-0.333333333333333*((5 - m.x73)**3 + m.x73**3) + m.x2085 == 0)
m.c1476 = Constraint(expr=-0.333333333333333*((5 - m.x74)**3 + m.x74**3) + m.x2086 == 0)
m.c1477 = Constraint(expr=-0.333333333333333*((5 - m.x75)**3 + m.x75**3) + m.x2087 == 0)
m.c1478 = Constraint(expr=-0.333333333333333*((5 - m.x76)**3 + m.x76**3) + m.x2088 == 0)
m.c1479 = Constraint(expr=-0.333333333333333*((5 - m.x77)**3 + m.x77**3) + m.x2089 == 0)
m.c1480 = Constraint(expr=-0.333333333333333*((5 - m.x78)**3 + m.x78**3) + m.x2090 == 0)
m.c1481 = Constraint(expr=-0.333333333333333*((5 - m.x79)**3 + m.x79**3) + m.x2091 == 0)
m.c1482 = Constraint(expr=-0.333333333333333*((5 - m.x80)**3 + m.x80**3) + m.x2092 == 0)
m.c1483 = Constraint(expr=-0.333333333333333*((5 - m.x81)**3 + m.x81**3) + m.x2093 == 0)
m.c1484 = Constraint(expr=-0.333333333333333*((5 - m.x82)**3 + m.x82**3) + m.x2094 == 0)
m.c1485 = Constraint(expr=-0.333333333333333*((5 - m.x83)**3 + m.x83**3) + m.x2095 == 0)
m.c1486 = Constraint(expr=-0.333333333333333*((5 - m.x84)**3 + m.x84**3) + m.x2096 == 0)
m.c1487 = Constraint(expr=-0.333333333333333*((5 - m.x85)**3 + m.x85**3) + m.x2097 == 0)
m.c1488 = Constraint(expr=-0.333333333333333*((5 - m.x86)**3 + m.x86**3) + m.x2098 == 0)
m.c1489 = Constraint(expr=-0.333333333333333*((5 - m.x87)**3 + m.x87**3) + m.x2099 == 0)
m.c1490 = Constraint(expr=-0.333333333333333*((5 - m.x88)**3 + m.x88**3) + m.x2100 == 0)
m.c1491 = Constraint(expr=-0.333333333333333*((5 - m.x89)**3 + m.x89**3) + m.x2101 == 0)
m.c1492 = Constraint(expr=-0.333333333333333*((5 - m.x90)**3 + m.x90**3) + m.x2102 == 0)
m.c1493 = Constraint(expr=-0.333333333333333*((5 - m.x91)**3 + m.x91**3) + m.x2103 == 0)
m.c1494 = Constraint(expr=-0.333333333333333*((5 - m.x92)**3 + m.x92**3) + m.x2104 == 0)
m.c1495 = Constraint(expr=-0.333333333333333*((5 - m.x93)**3 + m.x93**3) + m.x2105 == 0)
m.c1496 = Constraint(expr=-0.333333333333333*((5 - m.x94)**3 + m.x94**3) + m.x2106 == 0)
m.c1497 = Constraint(expr=-0.333333333333333*((5 - m.x95)**3 + m.x95**3) + m.x2107 == 0)
m.c1498 = Constraint(expr=-0.333333333333333*((5 - m.x96)**3 + m.x96**3) + m.x2108 == 0)
m.c1499 = Constraint(expr=-0.333333333333333*((5 - m.x97)**3 + m.x97**3) + m.x2109 == 0)
m.c1500 = Constraint(expr=-0.333333333333333*((5 - m.x98)**3 + m.x98**3) + m.x2110 == 0)
m.c1501 = Constraint(expr=-0.333333333333333*((5 - m.x99)**3 + m.x99**3) + m.x2111 == 0)
m.c1502 = Constraint(expr=-0.333333333333333*((5 - m.x100)**3 + m.x100**3) + m.x2112 == 0)
m.c1503 = Constraint(expr=-0.333333333333333*((5 - m.x101)**3 + m.x101**3) + m.x2113 == 0)
m.c1504 = Constraint(expr=-0.333333333333333*((5 - m.x102)**3 + m.x102**3) + m.x2114 == 0)
m.c1505 = Constraint(expr=-0.333333333333333*((5 - m.x103)**3 + m.x103**3) + m.x2115 == 0)
m.c1506 = Constraint(expr=-0.333333333333333*((5 - m.x104)**3 + m.x104**3) + m.x2116 == 0)
m.c1507 = Constraint(expr=-0.333333333333333*((5 - m.x105)**3 + m.x105**3) + m.x2117 == 0)
m.c1508 = Constraint(expr=-0.333333333333333*((5 - m.x106)**3 + m.x106**3) + m.x2118 == 0)
m.c1509 = Constraint(expr=-0.333333333333333*((5 - m.x107)**3 + m.x107**3) + m.x2119 == 0)
m.c1510 = Constraint(expr=-0.333333333333333*((5 - m.x108)**3 + m.x108**3) + m.x2120 == 0)
m.c1511 = Constraint(expr=-0.333333333333333*((5 - m.x109)**3 + m.x109**3) + m.x2121 == 0)
m.c1512 = Constraint(expr=-0.333333333333333*((5 - m.x110)**3 + m.x110**3) + m.x2122 == 0)
m.c1513 = Constraint(expr=-0.333333333333333*((5 - m.x111)**3 + m.x111**3) + m.x2123 == 0)
m.c1514 = Constraint(expr=-0.333333333333333*((5 - m.x112)**3 + m.x112**3) + m.x2124 == 0)
m.c1515 = Constraint(expr=-0.333333333333333*((5 - m.x113)**3 + m.x113**3) + m.x2125 == 0)
m.c1516 = Constraint(expr=-0.333333333333333*((5 - m.x114)**3 + m.x114**3) + m.x2126 == 0)
m.c1517 = Constraint(expr=-0.333333333333333*((5 - m.x115)**3 + m.x115**3) + m.x2127 == 0)
m.c1518 = Constraint(expr=-0.333333333333333*((5 - m.x116)**3 + m.x116**3) + m.x2128 == 0)
m.c1519 = Constraint(expr=-0.333333333333333*((5 - m.x117)**3 + m.x117**3) + m.x2129 == 0)
m.c1520 = Constraint(expr=-0.333333333333333*((5 - m.x118)**3 + m.x118**3) + m.x2130 == 0)
m.c1521 = Constraint(expr=-0.333333333333333*((5 - m.x119)**3 + m.x119**3) + m.x2131 == 0)
m.c1522 = Constraint(expr=-0.333333333333333*((5 - m.x120)**3 + m.x120**3) + m.x2132 == 0)
m.c1523 = Constraint(expr=-0.333333333333333*((5 - m.x121)**3 + m.x121**3) + m.x2133 == 0)
m.c1524 = Constraint(expr=-0.333333333333333*((5 - m.x122)**3 + m.x122**3) + m.x2134 == 0)
m.c1525 = Constraint(expr=-0.333333333333333*((5 - m.x123)**3 + m.x123**3) + m.x2135 == 0)
m.c1526 = Constraint(expr=-0.333333333333333*((5 - m.x124)**3 + m.x124**3) + m.x2136 == 0)
m.c1527 = Constraint(expr=-0.333333333333333*((5 - m.x125)**3 + m.x125**3) + m.x2137 == 0)
m.c1528 = Constraint(expr=-0.333333333333333*((5 - m.x126)**3 + m.x126**3) + m.x2138 == 0)
m.c1529 = Constraint(expr=-0.333333333333333*((5 - m.x127)**3 + m.x127**3) + m.x2139 == 0)
m.c1530 = Constraint(expr=-0.333333333333333*((5 - m.x128)**3 + m.x128**3) + m.x2140 == 0)
m.c1531 = Constraint(expr=-0.333333333333333*((5 - m.x129)**3 + m.x129**3) + m.x2141 == 0)
m.c1532 = Constraint(expr=-0.333333333333333*((5 - m.x130)**3 + m.x130**3) + m.x2142 == 0)
m.c1533 = Constraint(expr=-0.333333333333333*((5 - m.x131)**3 + m.x131**3) + m.x2143 == 0)
m.c1534 = Constraint(expr=-0.333333333333333*((5 - m.x132)**3 + m.x132**3) + m.x2144 == 0)
m.c1535 = Constraint(expr=-0.333333333333333*((5 - m.x133)**3 + m.x133**3) + m.x2145 == 0)
m.c1536 = Constraint(expr=-0.333333333333333*((5 - m.x134)**3 + m.x134**3) + m.x2146 == 0)
m.c1537 = Constraint(expr=-0.333333333333333*((5 - m.x135)**3 + m.x135**3) + m.x2147 == 0)
m.c1538 = Constraint(expr=-0.333333333333333*((5 - m.x136)**3 + m.x136**3) + m.x2148 == 0)
m.c1539 = Constraint(expr=-0.333333333333333*((5 - m.x137)**3 + m.x137**3) + m.x2149 == 0)
m.c1540 = Constraint(expr=-0.333333333333333*((5 - m.x138)**3 + m.x138**3) + m.x2150 == 0)
m.c1541 = Constraint(expr=-0.333333333333333*((5 - m.x139)**3 + m.x139**3) + m.x2151 == 0)
m.c1542 = Constraint(expr=-0.333333333333333*((5 - m.x140)**3 + m.x140**3) + m.x2152 == 0)
m.c1543 = Constraint(expr=-0.333333333333333*((5 - m.x141)**3 + m.x141**3) + m.x2153 == 0)
m.c1544 = Constraint(expr=-0.333333333333333*((5 - m.x142)**3 + m.x142**3) + m.x2154 == 0)
m.c1545 = Constraint(expr=-0.333333333333333*((5 - m.x143)**3 + m.x143**3) + m.x2155 == 0)
m.c1546 = Constraint(expr=-0.333333333333333*((5 - m.x144)**3 + m.x144**3) + m.x2156 == 0)
m.c1547 = Constraint(expr=-0.333333333333333*((5 - m.x145)**3 + m.x145**3) + m.x2157 == 0)
m.c1548 = Constraint(expr=-0.333333333333333*((5 - m.x146)**3 + m.x146**3) + m.x2158 == 0)
m.c1549 = Constraint(expr=-0.333333333333333*((5 - m.x147)**3 + m.x147**3) + m.x2159 == 0)
m.c1550 = Constraint(expr=-0.333333333333333*((5 - m.x148)**3 + m.x148**3) + m.x2160 == 0)
m.c1551 = Constraint(expr=-0.333333333333333*((5 - m.x149)**3 + m.x149**3) + m.x2161 == 0)
m.c1552 = Constraint(expr=-0.333333333333333*((5 - m.x150)**3 + m.x150**3) + m.x2162 == 0)
m.c1553 = Constraint(expr=-0.333333333333333*((5 - m.x151)**3 + m.x151**3) + m.x2163 == 0)
m.c1554 = Constraint(expr=-0.333333333333333*((5 - m.x152)**3 + m.x152**3) + m.x2164 == 0)
m.c1555 = Constraint(expr=-0.333333333333333*((5 - m.x153)**3 + m.x153**3) + m.x2165 == 0)
m.c1556 = Constraint(expr=-0.333333333333333*((5 - m.x154)**3 + m.x154**3) + m.x2166 == 0)
m.c1557 = Constraint(expr=-0.333333333333333*((5 - m.x155)**3 + m.x155**3) + m.x2167 == 0)
m.c1558 = Constraint(expr=-0.333333333333333*((5 - m.x156)**3 + m.x156**3) + m.x2168 == 0)
m.c1559 = Constraint(expr=-0.333333333333333*((5 - m.x157)**3 + m.x157**3) + m.x2169 == 0)
m.c1560 = Constraint(expr=-0.333333333333333*((5 - m.x158)**3 + m.x158**3) + m.x2170 == 0)
m.c1561 = Constraint(expr=-0.333333333333333*((5 - m.x159)**3 + m.x159**3) + m.x2171 == 0)
m.c1562 = Constraint(expr=-0.333333333333333*((5 - m.x160)**3 + m.x160**3) + m.x2172 == 0)
m.c1563 = Constraint(expr=-0.333333333333333*((5 - m.x161)**3 + m.x161**3) + m.x2173 == 0)
m.c1564 = Constraint(expr=-0.333333333333333*((5 - m.x162)**3 + m.x162**3) + m.x2174 == 0)
m.c1565 = Constraint(expr=-0.333333333333333*((5 - m.x163)**3 + m.x163**3) + m.x2175 == 0)
m.c1566 = Constraint(expr=-0.333333333333333*((5 - m.x164)**3 + m.x164**3) + m.x2176 == 0)
m.c1567 = Constraint(expr=-0.333333333333333*((5 - m.x165)**3 + m.x165**3) + m.x2177 == 0)
m.c1568 = Constraint(expr=-0.333333333333333*((5 - m.x166)**3 + m.x166**3) + m.x2178 == 0)
m.c1569 = Constraint(expr=-0.333333333333333*((5 - m.x167)**3 + m.x167**3) + m.x2179 == 0)
m.c1570 = Constraint(expr=-0.333333333333333*((5 - m.x168)**3 + m.x168**3) + m.x2180 == 0)
m.c1571 = Constraint(expr=-0.333333333333333*((5 - m.x169)**3 + m.x169**3) + m.x2181 == 0)
m.c1572 = Constraint(expr=-0.333333333333333*((5 - m.x170)**3 + m.x170**3) + m.x2182 == 0)
m.c1573 = Constraint(expr=-0.333333333333333*((5 - m.x171)**3 + m.x171**3) + m.x2183 == 0)
m.c1574 = Constraint(expr=-0.333333333333333*((5 - m.x172)**3 + m.x172**3) + m.x2184 == 0)
m.c1575 = Constraint(expr=-0.333333333333333*((5 - m.x173)**3 + m.x173**3) + m.x2185 == 0)
m.c1576 = Constraint(expr=-0.333333333333333*((5 - m.x174)**3 + m.x174**3) + m.x2186 == 0)
m.c1577 = Constraint(expr=-0.333333333333333*((5 - m.x175)**3 + m.x175**3) + m.x2187 == 0)
m.c1578 = Constraint(expr=-0.333333333333333*((5 - m.x176)**3 + m.x176**3) + m.x2188 == 0)
m.c1579 = Constraint(expr=-0.333333333333333*((5 - m.x177)**3 + m.x177**3) + m.x2189 == 0)
m.c1580 = Constraint(expr=-0.333333333333333*((5 - m.x178)**3 + m.x178**3) + m.x2190 == 0)
m.c1581 = Constraint(expr=-0.333333333333333*((5 - m.x179)**3 + m.x179**3) + m.x2191 == 0)
m.c1582 = Constraint(expr=-0.333333333333333*((5 - m.x180)**3 + m.x180**3) + m.x2192 == 0)
m.c1583 = Constraint(expr=-0.333333333333333*((5 - m.x181)**3 + m.x181**3) + m.x2193 == 0)
m.c1584 = Constraint(expr=-0.333333333333333*((5 - m.x182)**3 + m.x182**3) + m.x2194 == 0)
m.c1585 = Constraint(expr=-0.333333333333333*((5 - m.x183)**3 + m.x183**3) + m.x2195 == 0)
m.c1586 = Constraint(expr=-0.333333333333333*((5 - m.x184)**3 + m.x184**3) + m.x2196 == 0)
m.c1587 = Constraint(expr=-0.333333333333333*((5 - m.x185)**3 + m.x185**3) + m.x2197 == 0)
m.c1588 = Constraint(expr=-0.333333333333333*((5 - m.x186)**3 + m.x186**3) + m.x2198 == 0)
m.c1589 = Constraint(expr=-0.333333333333333*((5 - m.x187)**3 + m.x187**3) + m.x2199 == 0)
m.c1590 = Constraint(expr=-0.333333333333333*((5 - m.x188)**3 + m.x188**3) + m.x2200 == 0)
m.c1591 = Constraint(expr=-0.333333333333333*((5 - m.x189)**3 + m.x189**3) + m.x2201 == 0)
m.c1592 = Constraint(expr=-0.333333333333333*((5 - m.x190)**3 + m.x190**3) + m.x2202 == 0)
m.c1593 = Constraint(expr=-0.333333333333333*((5 - m.x191)**3 + m.x191**3) + m.x2203 == 0)
m.c1594 = Constraint(expr=-0.333333333333333*((5 - m.x192)**3 + m.x192**3) + m.x2204 == 0)
m.c1595 = Constraint(expr=-0.333333333333333*((5 - m.x193)**3 + m.x193**3) + m.x2205 == 0)
m.c1596 = Constraint(expr=-0.333333333333333*((5 - m.x194)**3 + m.x194**3) + m.x2206 == 0)
m.c1597 = Constraint(expr=-0.333333333333333*((5 - m.x195)**3 + m.x195**3) + m.x2207 == 0)
m.c1598 = Constraint(expr=-0.333333333333333*((5 - m.x196)**3 + m.x196**3) + m.x2208 == 0)
m.c1599 = Constraint(expr=-0.333333333333333*((5 - m.x197)**3 + m.x197**3) + m.x2209 == 0)
m.c1600 = Constraint(expr=-0.333333333333333*((5 - m.x198)**3 + m.x198**3) + m.x2210 == 0)
m.c1601 = Constraint(expr=-0.333333333333333*((5 - m.x199)**3 + m.x199**3) + m.x2211 == 0)
m.c1602 = Constraint(expr=-0.333333333333333*((5 - m.x200)**3 + m.x200**3) + m.x2212 == 0)
m.c1603 = Constraint(expr=-0.333333333333333*((5 - m.x201)**3 + m.x201**3) + m.x2213 == 0)
| 53.537387 | 102 | 0.688542 | 52,867 | 291,404 | 3.79526 | 0.081128 | 0.099221 | 0.154343 | 0.22049 | 0.757381 | 0.677857 | 0.591774 | 0.50007 | 0.461195 | 0.380664 | 0 | 0.304562 | 0.087566 | 291,404 | 5,442 | 103 | 53.547225 | 0.45006 | 0.002327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000262 | 0 | 0.000262 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
89bed3c6f4358ea5beffd07b449a6c39b7b53e4d | 392 | py | Python | test_calculations.py | joshmgrant/pybay-pytest-the-awesome-parts-code | 4b9fccb8b561e5745c2498fb4360c40a5944694c | [
"Unlicense"
] | null | null | null | test_calculations.py | joshmgrant/pybay-pytest-the-awesome-parts-code | 4b9fccb8b561e5745c2498fb4360c40a5944694c | [
"Unlicense"
] | null | null | null | test_calculations.py | joshmgrant/pybay-pytest-the-awesome-parts-code | 4b9fccb8b561e5745c2498fb4360c40a5944694c | [
"Unlicense"
] | null | null | null | from calculations import TemperatureConverter
def testfreezing_fahrenheit():
converter = TemperatureConverter()
actual = converter.to_celsius(32.0)
expected = 0.0
assert abs(expected - actual) < 0.01
def test_freezing_celsius():
converter = TemperatureConverter()
actual = converter.to_fahrenheit(0)
expected = 32.0
assert abs(expected - actual) < 0.01
| 20.631579 | 45 | 0.714286 | 44 | 392 | 6.25 | 0.431818 | 0.210909 | 0.254545 | 0.32 | 0.530909 | 0.196364 | 0.196364 | 0 | 0 | 0 | 0 | 0.047619 | 0.196429 | 392 | 18 | 46 | 21.777778 | 0.825397 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
982874d77b210ce496dff9011612aad7e92e965a | 215 | py | Python | vnpy/pricing/crrCython/setup.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 5 | 2019-01-17T12:14:14.000Z | 2021-05-30T10:24:42.000Z | vnpy/pricing/crrCython/setup.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 1 | 2018-06-12T10:08:24.000Z | 2018-06-12T10:08:24.000Z | vnpy/pricing/crrCython/setup.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 5 | 2019-03-26T03:17:45.000Z | 2019-11-05T08:08:18.000Z | # encoding: UTF-8
from distutils.core import setup
from Cython.Build import cythonize
import numpy
setup(
name = 'crrCython',
ext_modules = cythonize("crrCython.pyx"),
include_dirs = [numpy.get_include()]
)
| 17.916667 | 43 | 0.739535 | 28 | 215 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.148837 | 215 | 11 | 44 | 19.545455 | 0.846995 | 0.069767 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
984978327bec13adb800652d36ac141bd0b2ae02 | 249 | py | Python | mask_detection/api/serializers.py | vinaykudari/MaskDetectionAPI | ab0c974614984b34cbb98d4d3ea247d8a9d70a14 | [
"MIT"
] | 1 | 2022-03-15T10:11:04.000Z | 2022-03-15T10:11:04.000Z | mask_detection/api/serializers.py | vinaykudari/MaskDetectionAPI | ab0c974614984b34cbb98d4d3ea247d8a9d70a14 | [
"MIT"
] | 5 | 2021-04-08T21:32:19.000Z | 2022-03-12T00:43:06.000Z | mask_detection/api/serializers.py | vinaykudari/mask-detection-api | ab0c974614984b34cbb98d4d3ea247d8a9d70a14 | [
"MIT"
] | 1 | 2021-03-08T07:57:17.000Z | 2021-03-08T07:57:17.000Z | import PIL
from rest_framework import serializers
from rest_framework.exceptions import ParseError
from .models import Image
class ImageSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Image
fields = ('pk', 'image', )
| 20.75 | 62 | 0.795181 | 28 | 249 | 7 | 0.607143 | 0.081633 | 0.173469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136546 | 249 | 11 | 63 | 22.636364 | 0.911628 | 0 | 0 | 0 | 0 | 0 | 0.028112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
985927c5dcddc08c61effceeb19e8c46ce9d7c79 | 1,648 | py | Python | tests/test_order.py | mikedh/lobby | d8449bd2a0dbeafc7d7689b37e9d3ca65eed89e4 | [
"MIT"
] | 1 | 2020-12-09T01:16:01.000Z | 2020-12-09T01:16:01.000Z | tests/test_order.py | ncantrell/lobby | d8449bd2a0dbeafc7d7689b37e9d3ca65eed89e4 | [
"MIT"
] | null | null | null | tests/test_order.py | ncantrell/lobby | d8449bd2a0dbeafc7d7689b37e9d3ca65eed89e4 | [
"MIT"
] | 1 | 2020-10-24T23:53:58.000Z | 2020-10-24T23:53:58.000Z | import lobby
def test_book():
# Create a LOB object
lob = lobby.OrderBook()
########### Limit Orders #############
# Create some limit orders
someOrders = [{'type': 'limit',
'side': 'ask',
'qty': 5,
'price': 101,
'tid': 100},
{'type': 'limit',
'side': 'ask',
'qty': 5,
'price': 103,
'tid': 101},
{'type': 'limit',
'side': 'ask',
'qty': 5,
'price': 101,
'tid': 102},
{'type': 'limit',
'side': 'ask',
'qty': 5,
'price': 101,
'tid': 103},
{'type': 'limit',
'side': 'bid',
'qty': 5,
'price': 99,
'tid': 100},
{'type': 'limit',
'side': 'bid',
'qty': 5,
'price': 98,
'tid': 101},
{'type': 'limit',
'side': 'bid',
'qty': 5,
'price': 99,
'tid': 102},
{'type': 'limit',
'side': 'bid',
'qty': 5,
'price': 97,
'tid': 103},
]
# Add orders to LOB
for order in someOrders:
trades, idNum = lob.processOrder(order, False, False)
if __name__ == '__main__':
test_book()
| 28.912281 | 61 | 0.283981 | 119 | 1,648 | 3.84874 | 0.344538 | 0.157205 | 0.227074 | 0.139738 | 0.550218 | 0.497817 | 0.497817 | 0.334061 | 0.334061 | 0 | 0 | 0.071429 | 0.558252 | 1,648 | 56 | 62 | 29.428571 | 0.557692 | 0.046117 | 0 | 0.75 | 0 | 0 | 0.145078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.020833 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
985e9fbe858937265cb958daa577a1fdbc91ad59 | 1,193 | py | Python | driloader/config/config_base.py | lucasmello/Driloader | 09790187eee7550e9fc93eb3479124a63d225e85 | [
"MIT"
] | 4 | 2017-07-16T20:48:45.000Z | 2017-10-05T21:45:24.000Z | driloader/config/config_base.py | lucasmello/Driloader | 09790187eee7550e9fc93eb3479124a63d225e85 | [
"MIT"
] | 16 | 2017-05-31T17:08:43.000Z | 2021-04-19T17:34:31.000Z | driloader/config/config_base.py | lucasmello/Driloader | 09790187eee7550e9fc93eb3479124a63d225e85 | [
"MIT"
] | null | null | null | """
Responsible to return the abstract browser configs.
"""
from abc import ABC, abstractmethod
class BrowserConfigBase(ABC):
"""
Holds abstract methods to be implemented in Browser Config classes.
"""
@abstractmethod
def base_url(self):
"""
Return base_url.
"""
raise NotImplementedError
@abstractmethod
def zipped_file_name(self, replace_version=''):
"""
Return zipped_file_name.
@param replace_version: if in browsers.ini there's a '{version}'
due to dynamic versions with geckodriver.
"""
raise NotImplementedError
@abstractmethod
def unzipped_file_name(self):
"""
Return unzipped_file_name.
"""
raise NotImplementedError
@abstractmethod
def latest_release_url(self):
"""
Return latest_release_url.
"""
raise NotImplementedError
@abstractmethod
def index_url(self):
"""
Return index_url.
"""
raise NotImplementedError
@abstractmethod
def versions_url(self):
"""
Return versions_url.
"""
raise NotImplementedError
| 21.690909 | 72 | 0.606035 | 110 | 1,193 | 6.390909 | 0.427273 | 0.145092 | 0.27027 | 0.291607 | 0.187767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312657 | 1,193 | 54 | 73 | 22.092593 | 0.857317 | 0.302598 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
98a6da5934125aa84cc4de8ab3349dd673edbfc9 | 530 | py | Python | leap/leap_test.py | shozi91/xpython | f3eccb61910f9950a98c5524efcfd8784fbc4289 | [
"MIT"
] | null | null | null | leap/leap_test.py | shozi91/xpython | f3eccb61910f9950a98c5524efcfd8784fbc4289 | [
"MIT"
] | null | null | null | leap/leap_test.py | shozi91/xpython | f3eccb61910f9950a98c5524efcfd8784fbc4289 | [
"MIT"
] | 1 | 2020-06-10T23:33:20.000Z | 2020-06-10T23:33:20.000Z | import unittest
from year import is_leap_year
class YearTest(unittest.TestCase):
def test_leap_year(self):
self.assertTrue(is_leap_year(1996))
def test_non_leap_year(self):
self.assertFalse(is_leap_year(1997))
def test_non_leap_even_year(self):
self.assertFalse(is_leap_year(1998))
def test_century(self):
self.assertFalse(is_leap_year(1900))
def test_exceptional_century(self):
self.assertTrue(is_leap_year(2400))
if __name__ == '__main__':
unittest.main()
| 22.083333 | 44 | 0.713208 | 74 | 530 | 4.675676 | 0.351351 | 0.184971 | 0.17341 | 0.182081 | 0.436416 | 0.436416 | 0.190751 | 0 | 0 | 0 | 0 | 0.046512 | 0.188679 | 530 | 23 | 45 | 23.043478 | 0.75814 | 0 | 0 | 0 | 0 | 0 | 0.015094 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.133333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7f265c229148e280301571ddc10324f031f42de0 | 17,311 | py | Python | tests/apitests/python/test_tag_immutability.py | tedgxt/harbor | 039733b200cc44ba23829499eb6cc71c63d3b9e6 | [
"Apache-2.0"
] | 1 | 2019-06-19T14:07:38.000Z | 2019-06-19T14:07:38.000Z | tests/apitests/python/test_tag_immutability.py | tedgxt/harbor | 039733b200cc44ba23829499eb6cc71c63d3b9e6 | [
"Apache-2.0"
] | null | null | null | tests/apitests/python/test_tag_immutability.py | tedgxt/harbor | 039733b200cc44ba23829499eb6cc71c63d3b9e6 | [
"Apache-2.0"
] | 1 | 2019-07-11T02:36:30.000Z | 2019-07-11T02:36:30.000Z | from __future__ import absolute_import
import unittest
import sys
from testutils import ADMIN_CLIENT
from testutils import harbor_server
from library.project import Project
from library.user import User
from library.repository import Repository
from library.repository import push_image_to_project
from library.registry import Registry
from library.artifact import Artifact
from library.tag_immutability import Tag_Immutability
from library.repository import push_special_image_to_project
class TestTagImmutability(unittest.TestCase):
@classmethod
def setUpClass(self):
self.url = ADMIN_CLIENT["endpoint"]
self.user_password = "Aa123456"
self.project= Project()
self.user= User()
self.repo= Repository()
self.registry = Registry()
self.artifact = Artifact()
self.tag_immutability = Tag_Immutability()
self.project_id, self.project_name, self.user_id, self.user_name = [None] * 4
self.user_id, self.user_name = self.user.create_user(user_password = self.user_password, **ADMIN_CLIENT)
self.USER_CLIENT = dict(with_signature = True, with_immutable_status = True, endpoint = self.url, username = self.user_name, password = self.user_password)
self.exsiting_rule = dict(selector_repository="rel*", selector_tag="v2.*")
self.project_id, self.project_name = self.project.create_project(metadata = {"public": "false"}, **self.USER_CLIENT)
def check_tag_immutability(self, artifact, tag_name, status = True):
for tag in artifact.tags:
if tag.name == tag_name:
self.assertTrue(tag.immutable == status)
return
raise Exception("No tag {} found in artifact {}".format(tag, artifact))
def test_disability_of_rules(self):
"""
Test case:
Test Disability Of Rules
Test step and expected result:
1. Create a new project;
2. Push image A to the project with 2 tags A and B;
3. Create a disabled rule matched image A with tag A;
4. Both tags of image A should not be immutable;
5. Enable this rule;
6. image A with tag A should be immutable.
"""
image_a = dict(name="image_disability_a", tag1="latest", tag2="6.2.2")
#1. Create a new project;
project_id, project_name = self.project.create_project(metadata = {"public": "false"}, **self.USER_CLIENT)
#2. Push image A to the project with 2 tags;
push_special_image_to_project(project_name, harbor_server, self.user_name, self.user_password, image_a["name"], [image_a["tag1"], image_a["tag2"]])
#3. Create a disabled rule matched image A;
rule_id = self.tag_immutability.create_rule(project_id, disabled = True, selector_repository=image_a["name"], selector_tag=str(image_a["tag1"])[0:2] + "*", **self.USER_CLIENT)
#4. Both tags of image A should not be immutable;
artifact_a = self.artifact.get_reference_info(project_name, image_a["name"], image_a["tag2"], **self.USER_CLIENT)
print("[test_disability_of_rules] - artifact:{}".format(artifact_a))
self.assertTrue(artifact_a)
self.check_tag_immutability(artifact_a, image_a["tag1"], status = False)
self.check_tag_immutability(artifact_a, image_a["tag2"], status = False)
#5. Enable this rule;
self.tag_immutability.update_tag_immutability_policy_rule(project_id, rule_id, disabled = False, **self.USER_CLIENT)
#6. image A with tag A should be immutable.
artifact_a = self.artifact.get_reference_info(project_name, image_a["name"], image_a["tag2"], **self.USER_CLIENT)
print("[test_disability_of_rules] - artifact:{}".format(artifact_a))
self.assertTrue(artifact_a)
self.check_tag_immutability(artifact_a, image_a["tag1"], status = True)
self.check_tag_immutability(artifact_a, image_a["tag2"], status = False)
def test_artifact_and_repo_is_undeletable(self):
"""
Test case:
Test Artifact And Repo is Undeleteable
Test step and expected result:
1. Create a new project;
2. Push image A to the project with 2 tags A and B;
3. Create a enabled rule matched image A with tag A;
4. Tag A should be immutable;
5. Artifact is undeletable;
6. Repository is undeletable.
"""
image_a = dict(name="image_repo_undeletable_a", tag1="latest", tag2="1.3.2")
#1. Create a new project;
project_id, project_name = self.project.create_project(metadata = {"public": "false"}, **self.USER_CLIENT)
#2. Push image A to the project with 2 tags A and B;
push_special_image_to_project(project_name, harbor_server, self.user_name, self.user_password, image_a["name"], [image_a["tag1"], image_a["tag2"]])
#3. Create a enabled rule matched image A with tag A;
self.tag_immutability.create_rule(project_id, selector_repository=image_a["name"], selector_tag=str(image_a["tag1"])[0:2] + "*", **self.USER_CLIENT)
#4. Tag A should be immutable;
artifact_a = self.artifact.get_reference_info(project_name, image_a["name"], image_a["tag2"], **self.USER_CLIENT)
print("[test_artifact_and_repo_is_undeletable] - artifact:{}".format(artifact_a))
self.assertTrue(artifact_a)
self.check_tag_immutability(artifact_a, image_a["tag1"], status = True)
self.check_tag_immutability(artifact_a, image_a["tag2"], status = False)
#5. Artifact is undeletable;
self.artifact.delete_artifact(project_name, image_a["name"], image_a["tag1"], expect_status_code = 412,expect_response_body = "configured as immutable, cannot be deleted", **self.USER_CLIENT)
#6. Repository is undeletable.
self.repo.delete_repoitory(project_name, image_a["name"], expect_status_code = 412, expect_response_body = "configured as immutable, cannot be deleted", **self.USER_CLIENT)
def test_tag_is_undeletable(self):
"""
Test case:
Test Tag is Undeleteable
Test step and expected result:
1. Push image A to the project with 2 tags A and B;
2. Create a enabled rule matched image A with tag A;
3. Tag A should be immutable;
4. Tag A is undeletable;
5. Tag B is deletable.
"""
image_a = dict(name="image_undeletable_a", tag1="latest", tag2="9.3.2")
#1. Push image A to the project with 2 tags A and B;
push_special_image_to_project(self.project_name, harbor_server, self.user_name, self.user_password, image_a["name"], [image_a["tag1"], image_a["tag2"]])
#2. Create a enabled rule matched image A with tag A;
self.tag_immutability.create_rule(self.project_id, selector_repository=image_a["name"], selector_tag=str(image_a["tag2"])[0:2] + "*", **self.USER_CLIENT)
#3. Tag A should be immutable;
artifact_a = self.artifact.get_reference_info(self.project_name, image_a["name"], image_a["tag2"], **self.USER_CLIENT)
print("[test_tag_is_undeletable] - artifact:{}".format(artifact_a))
self.assertTrue(artifact_a)
self.check_tag_immutability(artifact_a, image_a["tag2"], status = True)
#4. Tag A is undeletable;
self.artifact.delete_tag(self.project_name, image_a["name"], image_a["tag1"], image_a["tag2"], expect_status_code = 412, **self.USER_CLIENT)
#5. Tag B is deletable.
self.artifact.delete_tag(self.project_name, image_a["name"], image_a["tag1"], image_a["tag1"], **self.USER_CLIENT)
def test_image_is_unpushable(self):
"""
Test case:
Test Image is Unpushable
Test step and expected result:
1. Create a new project;
2. Push image A to the project with 2 tags A and B;
3. Create a enabled rule matched image A with tag A;
4. Tag A should be immutable;
5. Can not push image with the same image name and with the same tag name.
"""
image_a = dict(name="image_unpushable_a", tag1="latest", tag2="1.3.2")
#1. Create a new project;
project_id, project_name = self.project.create_project(metadata = {"public": "false"}, **self.USER_CLIENT)
#2. Push image A to the project with 2 tags A and B;
push_special_image_to_project(project_name, harbor_server, self.user_name, self.user_password, image_a["name"], [image_a["tag1"], image_a["tag2"]])
#3. Create a enabled rule matched image A with tag A;
self.tag_immutability.create_rule(project_id, selector_repository=image_a["name"], selector_tag=str(image_a["tag1"])[0:2] + "*", **self.USER_CLIENT)
#4. Tag A should be immutable;
artifact_a = self.artifact.get_reference_info(project_name, image_a["name"], image_a["tag2"], **self.USER_CLIENT)
print("[test_image_is_unpushable] - artifact:{}".format(artifact_a))
self.assertTrue(artifact_a)
self.check_tag_immutability(artifact_a, image_a["tag1"], status = True)
self.check_tag_immutability(artifact_a, image_a["tag2"], status = False)
#5. Can not push image with the same image name and with the same tag name.
push_image_to_project(project_name, harbor_server, self.user_name, self.user_password, "tomcat", image_a["tag1"],
new_image = image_a["name"], expected_error_message = "configured as immutable")
def test_copy_disability(self):
"""
Test case:
Test Copy Disability
Test step and expected result:
1. Create 2 projects;
2. Push image A with tag A and B to project A, push image B which has the same image name and tag name to project B;
3. Create a enabled rule matched image A with tag A;
4. Tag A should be immutable;
5. Can not copy artifact from project A to project B with the same repository name.
"""
image_a = dict(name="image_copy_disability_a", tag1="latest", tag2="1.3.2")
#1. Create 2 projects;
project_id, project_name = self.project.create_project(metadata = {"public": "false"}, **self.USER_CLIENT)
_, project_name_src = self.project.create_project(metadata = {"public": "false"}, **self.USER_CLIENT)
#2. Push image A with tag A and B to project A, push image B which has the same image name and tag name to project B;
push_special_image_to_project(project_name, harbor_server, self.user_name, self.user_password, image_a["name"], [image_a["tag1"], image_a["tag2"]])
push_special_image_to_project(project_name_src, harbor_server, self.user_name, self.user_password, image_a["name"], [image_a["tag1"], image_a["tag2"]])
#3. Create a enabled rule matched image A with tag A;
self.tag_immutability.create_rule(project_id, selector_repository=image_a["name"], selector_tag=str(image_a["tag1"])[0:2] + "*", **self.USER_CLIENT)
#4. Tag A should be immutable;
artifact_a = self.artifact.get_reference_info(project_name, image_a["name"], image_a["tag2"], **self.USER_CLIENT)
print("[test_copy_disability] - artifact:{}".format(artifact_a))
self.assertTrue(artifact_a)
self.check_tag_immutability(artifact_a, image_a["tag1"], status = True)
self.check_tag_immutability(artifact_a, image_a["tag2"], status = False)
#5. Can not copy artifact from project A to project B with the same repository name.
artifact_a_src = self.artifact.get_reference_info(project_name_src, image_a["name"], image_a["tag2"], **self.USER_CLIENT)
print("[test_copy_disability] - artifact_a_src:{}".format(artifact_a_src))
self.artifact.copy_artifact(project_name, image_a["name"], project_name_src+"/"+ image_a["name"] + "@" + artifact_a_src.digest, expect_status_code=412, expect_response_body = "configured as immutable, cannot be updated", **self.USER_CLIENT)
#def test_replication_disability(self):
# pass
def test_priority_of_rules(self):
"""
Test case:
Test Priority Of Rules(excluding rule will not affect matching rule)
Test step and expected result:
1. Push image A, B and C, image A has only 1 tag named tag1;
2. Create a matching rule that matches image A and tag named tag2 which is not exist;
3. Create a excluding rule to exlude image A and B;
4. Add a tag named tag2 to image A, tag2 should be immutable;
5. Tag2 should be immutable;
6. All tags in image B should be immutable;
7. All tags in image C should not be immutable;
8. Disable all rules.
"""
image_a = dict(name="image_priority_a", tag1="latest", tag2="6.3.2")
image_b = dict(name="image_priority_b", tag1="latest", tag2="0.12.0")
image_c = dict(name="image_priority_c", tag1="latest", tag2="3.12.0")
#1. Push image A, B and C, image A has only 1 tag named tag1;
push_special_image_to_project(self.project_name, harbor_server, self.user_name, self.user_password, image_a["name"], [image_a["tag1"]])
push_special_image_to_project(self.project_name, harbor_server, self.user_name, self.user_password, image_b["name"], [image_b["tag1"],image_b["tag2"]])
push_special_image_to_project(self.project_name, harbor_server, self.user_name, self.user_password, image_c["name"], [image_c["tag1"],image_c["tag2"]])
#2. Create a matching rule that matches image A and tag named tag2 which is not exist;
rule_id_1 = self.tag_immutability.create_rule(self.project_id, selector_repository=image_a["name"], selector_tag=image_a["tag2"], **self.USER_CLIENT)
#3. Create a excluding rule to exlude image A and B;
rule_id_2 = self.tag_immutability.create_rule(self.project_id, selector_repository_decoration = "repoExcludes",
selector_repository="{image_priority_a,image_priority_b}", selector_tag="**", **self.USER_CLIENT)
#4. Add a tag named tag2 to image A, tag2 should be immutable;
self.artifact.create_tag(self.project_name, image_a["name"], image_a["tag1"], image_a["tag2"], **self.USER_CLIENT)
#5. Tag2 should be immutable;
artifact_a = self.artifact.get_reference_info(self.project_name, image_a["name"], image_a["tag2"], **self.USER_CLIENT)
print("[test_priority_of_rules] - artifact:{}".format(artifact_a))
self.assertTrue(artifact_a)
self.check_tag_immutability(artifact_a, image_a["tag2"], status = True)
self.check_tag_immutability(artifact_a, image_a["tag1"], status = False)
#6. All tags in image B should be immutable;
artifact_b = self.artifact.get_reference_info(self.project_name, image_b["name"], image_b["tag2"], **self.USER_CLIENT)
print("[test_priority_of_rules] - artifact:{}".format(artifact_b))
self.assertTrue(artifact_b)
self.check_tag_immutability(artifact_b, image_b["tag2"], status = False)
self.check_tag_immutability(artifact_b, image_b["tag1"], status = False)
#7. All tags in image C should not be immutable;
artifact_c = self.artifact.get_reference_info(self.project_name, image_c["name"], image_c["tag2"], **self.USER_CLIENT)
print("[test_priority_of_rules] - artifact:{}".format(artifact_c))
self.assertTrue(artifact_c)
self.check_tag_immutability(artifact_c, image_c["tag2"], status = True)
self.check_tag_immutability(artifact_c, image_c["tag1"], status = True)
#8. Disable all rules.
self.tag_immutability.update_tag_immutability_policy_rule(self.project_id, rule_id_1, disabled = True, **self.USER_CLIENT)
self.tag_immutability.update_tag_immutability_policy_rule(self.project_id, rule_id_2, disabled = True, **self.USER_CLIENT)
def test_add_exsiting_rule(self):
"""
Test case:
Test Priority Of Rules(excluding rule will not affect matching rule)
Test step and expected result:
1. Push image A and B with no tag;
2. Create a immutability policy rule A;
3. Fail to create rule B which has the same config as rule A;
"""
self.tag_immutability.create_tag_immutability_policy_rule(self.project_id, **self.exsiting_rule, **self.USER_CLIENT)
self.tag_immutability.create_tag_immutability_policy_rule(self.project_id, **self.exsiting_rule, expect_status_code = 409, **self.USER_CLIENT)
@classmethod
def tearDownClass(self):
print("Case completed")
if __name__ == '__main__':
suite = unittest.TestSuite(unittest.makeSuite(TestTagImmutability))
result = unittest.TextTestRunner(sys.stdout, verbosity=2, failfast=True).run(suite)
if not result.wasSuccessful():
raise Exception(r"Tag immutability test failed: {}".format(result))
| 57.511628 | 249 | 0.667841 | 2,431 | 17,311 | 4.51378 | 0.071164 | 0.064522 | 0.044655 | 0.025973 | 0.786203 | 0.728515 | 0.695981 | 0.677299 | 0.646587 | 0.623348 | 0 | 0.017347 | 0.224077 | 17,311 | 300 | 250 | 57.703333 | 0.799583 | 0.234302 | 0 | 0.302158 | 0 | 0 | 0.112885 | 0.027553 | 0 | 0 | 0 | 0 | 0.071942 | 1 | 0.071942 | false | 0.093525 | 0.093525 | 0 | 0.179856 | 0.079137 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7f2882efd53bcebd87c22f2c0fd81888ec5db7e6 | 734 | py | Python | Python/Basic Data Types/Lists.py | justchilll/HackerRank | 948e5783007b0918b25bcef452a12c4dddb36fa6 | [
"MIT"
] | 1 | 2021-12-28T15:45:25.000Z | 2021-12-28T15:45:25.000Z | Python/Basic Data Types/Lists.py | justchilll/HackerRank | 948e5783007b0918b25bcef452a12c4dddb36fa6 | [
"MIT"
] | null | null | null | Python/Basic Data Types/Lists.py | justchilll/HackerRank | 948e5783007b0918b25bcef452a12c4dddb36fa6 | [
"MIT"
] | null | null | null | if __name__ == '__main__':
N = int(input())
main_list=[]
for iterate in range(N):
entered_string=input().split()
if entered_string[0] == 'insert':
main_list.insert(int(entered_string[1]),int(entered_string[2]))
elif entered_string[0] == 'print':
print(main_list)
elif entered_string[0] == 'remove':
main_list.remove(int(entered_string[1]))
elif entered_string[0] == 'append':
main_list.append(int(entered_string[1]))
elif entered_string[0] == 'sort':
main_list.sort()
elif entered_string[0] == 'pop':
main_list.pop()
elif entered_string[0] == 'reverse':
main_list.reverse()
| 36.7 | 75 | 0.569482 | 89 | 734 | 4.382022 | 0.280899 | 0.4 | 0.251282 | 0.276923 | 0.179487 | 0.179487 | 0.179487 | 0.179487 | 0 | 0 | 0 | 0.020913 | 0.283379 | 734 | 19 | 76 | 38.631579 | 0.720532 | 0 | 0 | 0 | 0 | 0 | 0.061308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f303b0c11d6702e4f41fb8d7ecc0a87c19ce301 | 713 | py | Python | app/views/info/info_routes.py | tjdaley/publicdataws | 1aa4a98cf47fae10cc0f59a8d01168df806b4919 | [
"MIT"
] | null | null | null | app/views/info/info_routes.py | tjdaley/publicdataws | 1aa4a98cf47fae10cc0f59a8d01168df806b4919 | [
"MIT"
] | null | null | null | app/views/info/info_routes.py | tjdaley/publicdataws | 1aa4a98cf47fae10cc0f59a8d01168df806b4919 | [
"MIT"
] | null | null | null | """
info_routes.py - Handle the routes for basic information pages.
This module provides the views for the following routes:
/about
/privacy
/terms_and_conditions
Copyright (c) 2019 by Thomas J. Daley. All Rights Reserved.
"""
from flask import Blueprint, render_template
info_routes = Blueprint("info_routes", __name__, template_folder="templates")
@info_routes.route('/about', methods=['GET'])
def about():
return render_template('about.html')
@info_routes.route("/privacy/", methods=["GET"])
def privacy():
return render_template("privacy.html")
@info_routes.route("/terms_and_conditions", methods=["GET"])
def terms_and_conditions():
return render_template("terms_and_conditions.html")
| 23 | 77 | 0.751753 | 94 | 713 | 5.457447 | 0.468085 | 0.116959 | 0.140351 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006359 | 0.117812 | 713 | 30 | 78 | 23.766667 | 0.809221 | 0.309958 | 0 | 0 | 0 | 0 | 0.231405 | 0.095041 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7f4010676a7aac9aa896fa49d6f12bbf2ad6307d | 21 | py | Python | src/models/items/constants.py | MDRCS/deals-catcher | 0c2e344e402917cc284fbeb4d83c2829a08595aa | [
"MIT"
] | null | null | null | src/models/items/constants.py | MDRCS/deals-catcher | 0c2e344e402917cc284fbeb4d83c2829a08595aa | [
"MIT"
] | null | null | null | src/models/items/constants.py | MDRCS/deals-catcher | 0c2e344e402917cc284fbeb4d83c2829a08595aa | [
"MIT"
] | null | null | null | Collection = "items"
| 10.5 | 20 | 0.714286 | 2 | 21 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f57d7df7fd0834188bfe8a6c66e64ecd0ee8e3e | 565 | py | Python | examples/example_interactive_prefix/main.py | David-Lor/Python-DotEnv-Settings-Handler | ca234914a93f94f59a8a37e65ff9010ffc9c4e99 | [
"Apache-2.0"
] | 6 | 2019-06-30T14:49:28.000Z | 2020-03-10T19:56:30.000Z | examples/example_interactive_prefix/main.py | David-Lor/Python-DotEnv-Settings-Handler | ca234914a93f94f59a8a37e65ff9010ffc9c4e99 | [
"Apache-2.0"
] | null | null | null | examples/example_interactive_prefix/main.py | David-Lor/Python-DotEnv-Settings-Handler | ca234914a93f94f59a8a37e65ff9010ffc9c4e99 | [
"Apache-2.0"
] | null | null | null | """This example read the settings and print them out, so you can check how they get loaded.
"""
# noinspection PyUnresolvedReferences,PyPackageRequirements
from settings import my_settings as settings
print("Redis Host:", settings.redis_host)
print("Redis Port:", settings.redis_port)
print("Redis Port / 2:", settings.redis_port / 2) # Show that the Port is int
print("API Port:", settings.api_port)
print("API Port * 2:", settings.api_port * 2) # Show that the Port is int
print("API Password:", settings.api_password)
print("API Token:", settings.api_token)
| 40.357143 | 91 | 0.753982 | 85 | 565 | 4.917647 | 0.411765 | 0.086124 | 0.066986 | 0.062201 | 0.157895 | 0.157895 | 0.157895 | 0.157895 | 0.157895 | 0.157895 | 0 | 0.008147 | 0.130973 | 565 | 13 | 92 | 43.461538 | 0.843177 | 0.352212 | 0 | 0 | 0 | 0 | 0.229692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.125 | 0 | 0.125 | 0.875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
7f74c0fc275d974a627baa79ccbe3262645f2513 | 2,195 | py | Python | components/studio/projects/migrations/0015_auto_20210301_1015.py | aitmlouk/stackn | c8029394a15b03796a4864938f9db251b65c7354 | [
"Apache-2.0"
] | 25 | 2020-05-08T22:24:54.000Z | 2022-03-11T18:16:58.000Z | components/studio/projects/migrations/0015_auto_20210301_1015.py | aitmlouk/stackn | c8029394a15b03796a4864938f9db251b65c7354 | [
"Apache-2.0"
] | 75 | 2020-05-08T22:15:59.000Z | 2021-11-22T10:00:04.000Z | components/studio/projects/migrations/0015_auto_20210301_1015.py | aitmlouk/stackn | c8029394a15b03796a4864938f9db251b65c7354 | [
"Apache-2.0"
] | 12 | 2020-11-04T13:09:46.000Z | 2022-03-14T16:22:40.000Z | # Generated by Django 3.1.6 on 2021-03-01 10:15
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('projects', '0014_environment_appenv'),
]
operations = [
migrations.RemoveField(
model_name='flavor',
name='cpu',
),
migrations.RemoveField(
model_name='flavor',
name='gpu',
),
migrations.RemoveField(
model_name='flavor',
name='mem',
),
migrations.AddField(
model_name='flavor',
name='cpu_lim',
field=models.TextField(blank=True, default='1000m', null=True),
),
migrations.AddField(
model_name='flavor',
name='cpu_req',
field=models.TextField(blank=True, default='200m', null=True),
),
migrations.AddField(
model_name='flavor',
name='ephmem_lim',
field=models.TextField(blank=True, default='200Mi', null=True),
),
migrations.AddField(
model_name='flavor',
name='ephmem_req',
field=models.TextField(blank=True, default='200Mi', null=True),
),
migrations.AddField(
model_name='flavor',
name='gpu_lim',
field=models.TextField(blank=True, default='0', null=True),
),
migrations.AddField(
model_name='flavor',
name='gpu_req',
field=models.TextField(blank=True, default='0', null=True),
),
migrations.AddField(
model_name='flavor',
name='mem_lim',
field=models.TextField(blank=True, default='3Gi', null=True),
),
migrations.AddField(
model_name='flavor',
name='mem_req',
field=models.TextField(blank=True, default='0.5Gi', null=True),
),
migrations.AddField(
model_name='flavor',
name='project',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='projects.project'),
),
]
| 30.486111 | 115 | 0.541686 | 213 | 2,195 | 5.474178 | 0.253521 | 0.092624 | 0.154374 | 0.19554 | 0.755575 | 0.747856 | 0.64494 | 0.5 | 0.385935 | 0.288165 | 0 | 0.025068 | 0.327563 | 2,195 | 71 | 116 | 30.915493 | 0.764905 | 0.020501 | 0 | 0.615385 | 1 | 0 | 0.105214 | 0.010708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f76ceea26c08de27da1840f0d593d7e2ff3c37f | 298 | py | Python | app/models/db.py | cdlaimin/fastapi | 4acf1a1da4a1eedd81a3bdf6256661c2464928b9 | [
"BSD-3-Clause"
] | null | null | null | app/models/db.py | cdlaimin/fastapi | 4acf1a1da4a1eedd81a3bdf6256661c2464928b9 | [
"BSD-3-Clause"
] | null | null | null | app/models/db.py | cdlaimin/fastapi | 4acf1a1da4a1eedd81a3bdf6256661c2464928b9 | [
"BSD-3-Clause"
] | null | null | null | from sqlalchemy.ext.asyncio import create_async_engine, AsyncSession
from sqlalchemy.orm import sessionmaker
from app.core.config import settings
engine = create_async_engine(settings.ASYNC_SQLALCHEMY_DATABASE_URI)
SessionLocal = sessionmaker(engine, class_=AsyncSession, expire_on_commit=False)
| 37.25 | 80 | 0.865772 | 38 | 298 | 6.526316 | 0.605263 | 0.112903 | 0.137097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077181 | 298 | 7 | 81 | 42.571429 | 0.901818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7f774ce1cb63f287b074535083076da2eb2886d4 | 37 | py | Python | src/globals.py | 22PoojaGaur/COMINE-Plusplus-Algorithm-for-Finding-Correlated-Patterns-from-Transactions | 3b554ab337765f8c02126c585dd025d71c539f73 | [
"MIT"
] | null | null | null | src/globals.py | 22PoojaGaur/COMINE-Plusplus-Algorithm-for-Finding-Correlated-Patterns-from-Transactions | 3b554ab337765f8c02126c585dd025d71c539f73 | [
"MIT"
] | 6 | 2020-10-03T19:47:08.000Z | 2021-04-23T10:55:19.000Z | src/globals.py | 22PoojaGaur/COMINE-Plusplus-Algorithm-for-Finding-Correlated-Patterns-from-Transactions | 3b554ab337765f8c02126c585dd025d71c539f73 | [
"MIT"
] | null | null | null | MIN_SUPPORT = 2
MIN_ALL_CONF = 0.05
| 9.25 | 19 | 0.72973 | 8 | 37 | 3 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.189189 | 37 | 3 | 20 | 12.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f8dc67d585101b5b8e1bb738d00fbeb7fa08007 | 452 | py | Python | Capitulo_02/exercise2_6.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | Capitulo_02/exercise2_6.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | Capitulo_02/exercise2_6.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | """
2.6 – Citação famosa 2: Repita o Exercício 2.5, porém, desta vez, armazene o nome da pessoa famosa em uma variável chamada famous_person. Em seguida, componha sua mensagem e armazene-a em uma nova variável chamada message. Exiba sua mensagem.
"""
famous_person = "René Descartes"
message = "As paixões são todas boas por natureza e nós apenas temos de evitar o seu mau uso e os seus excessos."
print(f"{famous_person} certa vez disse: {message}") | 56.5 | 242 | 0.761062 | 77 | 452 | 4.441558 | 0.714286 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013228 | 0.163717 | 452 | 8 | 243 | 56.5 | 0.888889 | 0.535398 | 0 | 0 | 0 | 0.333333 | 0.773399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f92bdbd76e88952ccd41f7b4bb7059cb29661bf | 360 | py | Python | ravel/utils/data.py | eykd/ravel | bcd4a748c74acd39f09f4eab6a8cb65660e857b5 | [
"MIT"
] | 1 | 2020-05-16T12:27:44.000Z | 2020-05-16T12:27:44.000Z | ravel/utils/data.py | eykd/ravel | bcd4a748c74acd39f09f4eab6a8cb65660e857b5 | [
"MIT"
] | null | null | null | ravel/utils/data.py | eykd/ravel | bcd4a748c74acd39f09f4eab6a8cb65660e857b5 | [
"MIT"
] | null | null | null |
def merge_dicts(*dicts):
"""
Given any number of dicts, shallow copy and merge into a new dict,
precedence goes to key value pairs in latter dicts.
"""
result = {}
for d in dicts:
result.update(d)
return result
def evaluate_term(term, **kwargs):
return term.evaluate(**kwargs) if hasattr(term, 'evaluate') else term
| 22.5 | 73 | 0.65 | 51 | 360 | 4.54902 | 0.647059 | 0.094828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 360 | 15 | 74 | 24 | 0.859259 | 0.327778 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7f9b2596a347b694b0723898dcd1d3a1c8ef87bd | 380 | py | Python | architectures/utils.py | eddardd/torchDA | f53e3a8d5add454a7a2601fb4642da5c89608018 | [
"MIT"
] | null | null | null | architectures/utils.py | eddardd/torchDA | f53e3a8d5add454a7a2601fb4642da5c89608018 | [
"MIT"
] | null | null | null | architectures/utils.py | eddardd/torchDA | f53e3a8d5add454a7a2601fb4642da5c89608018 | [
"MIT"
] | null | null | null | import torch
class GradReverse(torch.autograd.Function):
@staticmethod
def forward(ctx, x):
return x.view_as(x)
@staticmethod
def backward(ctx, grad_output):
return - grad_output
class LambdaLayer(torch.nn.Module):
def __init__(self, fn):
super().__init__()
self.fn = fn
def forward(self, x):
return self.fn(x) | 19 | 43 | 0.626316 | 48 | 380 | 4.729167 | 0.5 | 0.079295 | 0.088106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 380 | 20 | 44 | 19 | 0.810714 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.214286 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7fa0b2e0b6ffafed2c4103aacf903f5f57d207fd | 108 | py | Python | core/urls.py | pouya007RN/Voice-Changer | 829e5a9ed6332b692d3f9f73b36c2d773f44182b | [
"MIT"
] | null | null | null | core/urls.py | pouya007RN/Voice-Changer | 829e5a9ed6332b692d3f9f73b36c2d773f44182b | [
"MIT"
] | null | null | null | core/urls.py | pouya007RN/Voice-Changer | 829e5a9ed6332b692d3f9f73b36c2d773f44182b | [
"MIT"
] | null | null | null | from .views import index
from django.urls import path
urlpatterns = [
path('', index, name='index'),
] | 15.428571 | 34 | 0.675926 | 14 | 108 | 5.214286 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 108 | 7 | 35 | 15.428571 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7fa380f39d2046691cd5b2cd72080ca55bc6fd09 | 295 | py | Python | attic/operator/dispatch.py | matteoshen/example-code | b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3 | [
"MIT"
] | 5,651 | 2015-01-06T21:58:46.000Z | 2022-03-31T13:39:07.000Z | attic/operator/dispatch.py | matteoshen/example-code | b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3 | [
"MIT"
] | 42 | 2016-12-11T19:17:11.000Z | 2021-11-23T19:41:16.000Z | attic/operator/dispatch.py | matteoshen/example-code | b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3 | [
"MIT"
] | 2,394 | 2015-01-18T10:57:38.000Z | 2022-03-31T11:41:12.000Z | """
Experiments with infix operator dispatch
>>> kadd = KnowsAdd()
>>> kadd + 1
(<KnowsAdd object>, 1)
>>> kadd * 1
"""
class KnowsAdd:
def __add__(self, other):
return self, other
def __repr__(self):
return '<{} object>'.format(type(self).__name__)
| 16.388889 | 56 | 0.572881 | 32 | 295 | 4.90625 | 0.59375 | 0.063694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013953 | 0.271186 | 295 | 17 | 57 | 17.352941 | 0.716279 | 0.433898 | 0 | 0 | 0 | 0 | 0.070064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7fb5da94eb1a0567d0a8b0b1f7117ea8c8244199 | 77 | py | Python | p001.py | scottwillmoore/project-euler | e8b24a72d88fc30e8ab701e2f56622c363600ea4 | [
"MIT"
] | 1 | 2018-07-09T09:19:58.000Z | 2018-07-09T09:19:58.000Z | p001.py | scottwillmoore/project-euler | e8b24a72d88fc30e8ab701e2f56622c363600ea4 | [
"MIT"
] | null | null | null | p001.py | scottwillmoore/project-euler | e8b24a72d88fc30e8ab701e2f56622c363600ea4 | [
"MIT"
] | null | null | null | c = lambda n: n % 3 == 0 or n % 5 == 0
print(sum(filter(c, range(0, 1000))))
| 25.666667 | 38 | 0.532468 | 17 | 77 | 2.411765 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 0.233766 | 77 | 2 | 39 | 38.5 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.