Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes #78

Merged
merged 27 commits into from
Mar 14, 2017
Merged

Various fixes #78

merged 27 commits into from
Mar 14, 2017

Commits on Jan 4, 2017

  1. Configuration menu
    Copy the full SHA
    87a3483 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2017

  1. Configuration menu
    Copy the full SHA
    264e848 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2017

  1. Configuration menu
    Copy the full SHA
    efbce6e View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2017

  1. fix: bug when changing variable names

    Only update the _variables_to_constriants_mapping dict when new_name !=
    old_name
    KristianJensen committed Jan 30, 2017
    Configuration menu
    Copy the full SHA
    1716264 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2017

  1. feat: allow infeasible primals to be retrieved

    Only _round_primals_to_bounds if solution is optimal
    KristianJensen committed Feb 2, 2017
    Configuration menu
    Copy the full SHA
    7e41760 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2017

  1. feat: add a tolerance option to scipy_interface

    Default is set to 1e-9
    KristianJensen committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    417dcf0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93fca6d View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2017

  1. fix: support all numeric types

    E.g. numpy and sympy
    KristianJensen committed Feb 10, 2017
    Configuration menu
    Copy the full SHA
    fdb5aba View commit details
    Browse the repository at this point in the history
  2. chore: exception types

    KristianJensen committed Feb 10, 2017
    Configuration menu
    Copy the full SHA
    e56efc8 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2017

  1. Configuration menu
    Copy the full SHA
    2dc50a7 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2017

  1. Configuration menu
    Copy the full SHA
    fb4408f View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2017

  1. Get linear coefficients from solver (#72)

    * feat: add get_linear_coefficients method
    
    Abstract non-implemented method
    
    * feat: implement glpk get_linear_coefficients method
    
    * fix: typo
    
    * feat: implement get_linear_coefficients in cplex
    
    * feat: implement get_linear_coefficients in gurobi
    
    * feat: implement get_linear_coefficients in scipy
    
    * test: add tests for get_linear_coefficients
    
    * test: more tests for get_linear_coefficients
    
    * fix: flake8
    
    * fix: missing arguments in test
    
    * fix: make scipy consistent with other interfaces
    
    the get_linear_coefficients and set_linear_coefficients methods now
    raise an exception if the objective/constraint doesn’t belong to a model
    KristianJensen authored Feb 17, 2017
    Configuration menu
    Copy the full SHA
    25d6c69 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2017

  1. Configuration menu
    Copy the full SHA
    0e08556 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f019e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2017

  1. Configuration menu
    Copy the full SHA
    48bd039 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2017

  1. fix: allow older versions of cplex

    Some cplex versions don’t have all the statuses that optlang tries to
    import, which would result in a crash.
    KristianJensen committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    fc7f002 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7872400 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8cfed1f View commit details
    Browse the repository at this point in the history
  4. test: fix tests to reflect constraint refactoring

    For range constraints, rhs is now equal to lb
    KristianJensen committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    89a5b5d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e07c09 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4a3d0f4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    99a259d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b54bd66 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    08098b6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8f430b1 View commit details
    Browse the repository at this point in the history
  11. fix: reset solution before optimizing if non-optimal

    This is due to a bug where gurobi can get stuck
    KristianJensen committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    718616c View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Miplib tests (#6)

    * checking if __del__ is needed
    
    * testing against miplib
    
    * using problems from miplib2003
    
    * needs to implement variable comparison for problems that converge
    
    * more problems
    runtime: 10 min per problem
    
    * fixed milp test value (same as in devel)
    
    * delete problem from memory only if it exists (__del__ method)
    
    * add a .keep file to keep the miplib2003 directory on tests/data
    
    * miplib test with cplex - some problems also fail...
    
    * need to implement a parser for .sol files
    
    * set 9 min limit for optimization to run, otherwise travis halts after 10 min without output
    
    * refactor: tests and move into slow_tests top directory
    
    * style: flake8
    
    * fix: no point in searching ImportError for 'cplex'
    
    * test: add slow MILP tests for gurobi
    the-code-magician authored and KristianJensen committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    53730c7 View commit details
    Browse the repository at this point in the history