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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite SCIP wrapper with Clang.jl to support a MIP solver through MOI #76

Merged
merged 82 commits into from
Jan 6, 2019

Commits on Dec 14, 2018

  1. add gen/generate_wrapper.jl

     - based on example of ArrowGlib.jl
     - incomplete (only wrap scip_general.h)
    rschwarz committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    158beb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39d47e9 View commit details
    Browse the repository at this point in the history
  3. wrap all scip_*.h files

     - these declarations used to be in scip.h
     - types are still missing
    rschwarz committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    7c3b621 View commit details
    Browse the repository at this point in the history
  4. wrap selected type_*.h headers

     - those that appear in the first block in scip.h
     - but not type_var.h, which yields an error
       (undefined `union SCIP_DomChg`)
    rschwarz committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    c4bb9ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4d5ef74 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    479aae1 View commit details
    Browse the repository at this point in the history
  7. also wrap type_var.h

     - requires updated Clang.jl with #214 fixed.
    rschwarz committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    d221a07 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2018

  1. Configuration menu
    Copy the full SHA
    d84a772 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41c21f9 View commit details
    Browse the repository at this point in the history
  3. regenerate wrapper

    rschwarz committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    92d3685 View commit details
    Browse the repository at this point in the history
  4. reset README

    rschwarz committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    baa31dd View commit details
    Browse the repository at this point in the history
  5. update LICENSE, REQUIRE

    rschwarz committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    8e1ee3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3fd6395 View commit details
    Browse the repository at this point in the history
  7. add deps/build.jl

     - inspired by Gurobi.jl
     - seems to work when `/usr/lib/libscip.so` exists.
    rschwarz committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    91dbc68 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f9b2be View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fbc281f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a58373e View commit details
    Browse the repository at this point in the history
  11. manually define FILE

    rschwarz committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    8a3f945 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    31b9959 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    187ea2b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    fe558bd View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2018

  1. Configuration menu
    Copy the full SHA
    8c60dff View commit details
    Browse the repository at this point in the history
  2. start on first test

    rschwarz committed Dec 16, 2018
    Configuration menu
    Copy the full SHA
    e9282e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9d1f7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93218b4 View commit details
    Browse the repository at this point in the history
  5. extend first test

    rschwarz committed Dec 16, 2018
    Configuration menu
    Copy the full SHA
    dd9bea0 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2018

  1. build.jl: check environment variable first

     - otherwise, if system-wide installation exists, can not point it to another
       installation which is useful for testing (debug mode build)
    rschwarz committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    c1c5f8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94749bc View commit details
    Browse the repository at this point in the history
  3. generate_wrapper: include all cons_* headers

     - otherwise, constraints can not be created!
    rschwarz committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    e7401cf View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2018

  1. test: add linear constraint

    rschwarz committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    b53ca2a View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2018

  1. fix type in test

    rschwarz committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    4810361 View commit details
    Browse the repository at this point in the history
  2. add MOI to REQUIRE

    rschwarz committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    543a572 View commit details
    Browse the repository at this point in the history
  3. prepare MOI_wrapper.jl

    rschwarz committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    81ce845 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2018

  1. Configuration menu
    Copy the full SHA
    f35860a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49bbe94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42bed2d View commit details
    Browse the repository at this point in the history
  4. add Travis CI config

    rschwarz committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    f50bef4 View commit details
    Browse the repository at this point in the history
  5. travis: install scip .deb package

     - use info from PySCIPOpt
     - also switch to Ubuntu Xenial
    rschwarz committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    d3316aa View commit details
    Browse the repository at this point in the history
  6. travis: add using Pkg

    rschwarz committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    5a96eae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5d08d9a View commit details
    Browse the repository at this point in the history
  8. add .codecov.yml

    rschwarz committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    2f8cd78 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2018

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

Commits on Dec 22, 2018

  1. generate_wrapper: include pub_*.h headers

     - need it now for SCIPvarGetObj from pub_var.h
    rschwarz committed Dec 22, 2018
    Configuration menu
    Copy the full SHA
    eab75e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    041024d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e74b98d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6ed123 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    60c26ec View commit details
    Browse the repository at this point in the history
  6. do not support linear constraints with constant offset

     - because I would need to merge it with lhs/rhs
     - but then I can not modify the constraint with set(, ConstraintSet, )
     - so I just throw AddConstraintNotAllowed
    rschwarz committed Dec 22, 2018
    Configuration menu
    Copy the full SHA
    b97dcff View commit details
    Browse the repository at this point in the history
  7. add more solution queries

    rschwarz committed Dec 22, 2018
    Configuration menu
    Copy the full SHA
    85ea505 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0abb816 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f4b71d8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    49494b4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    aa3d318 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f34c1d0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    92d42b9 View commit details
    Browse the repository at this point in the history
  14. support names for some constraints

     - but not for SingleVariable function (these are not really stored as
       SCIP_CONS)
    rschwarz committed Dec 22, 2018
    Configuration menu
    Copy the full SHA
    a99be15 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2018

  1. try to support names for SingleVariable constraints

     - also implement is_valid, for tests
    rschwarz committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    3d92cfc View commit details
    Browse the repository at this point in the history
  2. partially revert support for names

     - we only support what SCIP offers directly:
       - get/set name of problem
       - get/set name of variable by index
       - get/set name of (proper) constraints index
     - don't support names of SingleVariable constraints
       - are represented as variable bounds
       - would have to store names and reverse mapping separately
     - don't support getting index by name
       - don't want to keep track of duplicate names
       - have to be careful about original vs transformed problem
    rschwarz committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    ee976e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    110682c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    acecde3 View commit details
    Browse the repository at this point in the history
  5. add more solve statistics

    rschwarz committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    97a2108 View commit details
    Browse the repository at this point in the history
  6. enable some intlineartests

    rschwarz committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    b3ef38d View commit details
    Browse the repository at this point in the history
  7. update README

    rschwarz committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    e1821f1 View commit details
    Browse the repository at this point in the history
  8. README: fix typos

    rschwarz committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    7e4054b View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2019

  1. Configuration menu
    Copy the full SHA
    279fae4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5d54e3 View commit details
    Browse the repository at this point in the history
  3. rm dependency on Compat

    rschwarz committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    5f5d2c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb51e3d View commit details
    Browse the repository at this point in the history
  5. documentation formatting

    rschwarz committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    b4e7529 View commit details
    Browse the repository at this point in the history
  6. added documentation

    rschwarz committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    881b9a7 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2019

  1. use get_* functions more

    rschwarz committed Jan 6, 2019
    Configuration menu
    Copy the full SHA
    d098f10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7c20e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a89494 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d231570 View commit details
    Browse the repository at this point in the history
  5. reconsider type aliases

     - remove those that are used infrequently
     - use longer, more descriptive names
     - use CamelCase when abbreviated name is more than just initials
    rschwarz committed Jan 6, 2019
    Configuration menu
    Copy the full SHA
    d8a5fd8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d70941 View commit details
    Browse the repository at this point in the history
  7. rm empty test/REQUIRE

    rschwarz committed Jan 6, 2019
    Configuration menu
    Copy the full SHA
    3ea173a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    04e31fe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f4b5883 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7da7c14 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3ed02b0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3b4f087 View commit details
    Browse the repository at this point in the history