Skip to content

Commit

Permalink
Merge branch 'simonbowly-rename-package'
Browse files Browse the repository at this point in the history
  • Loading branch information
EdKlotz committed Aug 29, 2023
2 parents 993889c + 6fbc8c4 commit 2563f1d
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 19 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Issues = "https://github.com/Gurobi/gurobi-modelanalyzer/issues"
Source = "https://github.com/Gurobi/gurobi-modelanalyzer"

[tool.hatch.version]
path = "model_analyzer/__init__.py"
path = "src/gurobi_modelanalyzer/__init__.py"
7 changes: 0 additions & 7 deletions setup.cfg

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
import sys
from timeit import default_timer

import model_analyzer.common as common
import model_analyzer.constraint_analyzer as constraint_analyzer
import model_analyzer.file_analyzer as file_analyzer
import model_analyzer.objective_function_analyzer as objective_function_analyzer
import model_analyzer.variable_analyzer as variable_analyzer
import gurobi_modelanalyzer.common as common
import gurobi_modelanalyzer.constraint_analyzer as constraint_analyzer
import gurobi_modelanalyzer.file_analyzer as file_analyzer
import gurobi_modelanalyzer.objective_function_analyzer as objective_function_analyzer
import gurobi_modelanalyzer.variable_analyzer as variable_analyzer


def run(model_file: str, analyzers=[]):
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import gurobipy as gp
import math

from model_analyzer import common
from gurobi_modelanalyzer import common


def get_rhs_frequencies(model, base=10):
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections import defaultdict
import gurobipy as gp

import model_analyzer.common as common
import gurobi_modelanalyzer.common as common


def process_objective(m, data):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import math
import time

from model_analyzer import common
from gurobi_modelanalyzer import common


#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gurobipy as gp

import model_analyzer.common as common
import gurobi_modelanalyzer.common as common


def process_variable_types(m, data, objective_variables, constraint_variables):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_analyzer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from unittest import TestCase
import pathlib

import model_analyzer.analyzer as analyzer
import gurobi_modelanalyzer.analyzer as analyzer


class TestAnalyzer(TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_explainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os

import gurobipy as gp
from model_analyzer import kappa_explain
from gurobi_modelanalyzer import kappa_explain

here = pathlib.Path(__file__).parent
cwd = pathlib.Path(os.getcwd())
Expand Down

0 comments on commit 2563f1d

Please sign in to comment.