Skip to content

Commit

Permalink
CI trial 7 (python-travis)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioizzo committed Sep 12, 2019
1 parent 17de23d commit c7b71fb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,13 @@ matrix:
apt:
sources:
- ubuntu-toolchain-r-test
#- env: PAGMO_PLUGINS_NONFREE_BUILD="Python27"
# compiler: gcc
# os: linux
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - gcc-4.8
# - g++-4.8
- env: PAGMO_PLUGINS_NONFREE_BUILD="Python27"
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
#- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXDebug"
# os: osx
# osx_image: xcode6.4
Expand Down
13 changes: 6 additions & 7 deletions src/snopt7.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,12 @@ snopt7::snopt7(bool screen_output, std::string snopt7_c_library, unsigned minor_
* .. note::
*
* The definitions of feasibility are different for SNOPT7 and pagmo. SNOPT7 requires that *max(c_viol)/||x|| <=
* eps_r* where *||x||* is the Euclidean norm of *x*, a candidate solution vector, and *eps_r* is the "Major feasibility
* tolerance" option in SNOPT7. In contrast, pagmo requires that *c_viol <= c_tol* where *c_viol* is the vector of
* absolute values of the nonlinear constraint violations and *c_tol* is the vector of constraint tolerances in
* pagmo::problem. To guarantee feasibility with respect to pagmo when SNOPT7 reports feasibility, try setting *eps_r <=
* min(c_tol)/||x||_ub*, where
* *||x||_ub* is an upper bound on the value of *||x||*. Care must be taken with this approach to ensure *eps_r* is
* not too small.
* eps_r* where *||x||* is the Euclidean norm of *x*, a candidate solution vector, and *eps_r* is the "Major feasibility
* tolerance" option in SNOPT7. In contrast, pagmo requires that *c_viol <= c_tol* where *c_viol* is the vector of
* absolute values of the nonlinear constraint violations and *c_tol* is the vector of constraint tolerances in
* pagmo::problem. To guarantee feasibility with respect to pagmo when SNOPT7 reports feasibility, try setting *eps_r <=
* min(c_tol)/||x||_ub*, where *||x||_ub* is an upper bound on the value of *||x||*. Care must be taken with this approach to ensure *eps_r* is
* not too small.
*
* .. seealso::
*
Expand Down

0 comments on commit c7b71fb

Please sign in to comment.