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

Trilinos Master Merge PR Generator: Auto PR created to promote from master_merge_20200630_000610 branch to master #7605

Merged
merged 24 commits into from
Jun 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
179dc85
Updated binary advection-diffusion example.
dpkouri Apr 21, 2020
9bb77d4
Updated assembler to allow for different control and state discretiza…
dpkouri Apr 22, 2020
56faca7
Updated binary advection diffusion example to reflect changes in
dpkouri Apr 22, 2020
180c1be
Change to include the adv-diff-TEST example.
dpkouri Apr 22, 2020
9135ab8
Changed control discretization.
dpkouri Apr 22, 2020
39cb78e
Fixed parallel bug in assembler graph constructions.
dpkouri Apr 23, 2020
f711d31
Modifed FE to allow for construction without building side set inform…
dpkouri Apr 27, 2020
f4094f3
Updated assembler and dof manager to work with C0 basis.
dpkouri Apr 27, 2020
8dbbe68
atdm/utils: Cleanup for unit testing
e10harvey Jun 18, 2020
c419d1f
ATDM/van1-tx2: Add arm-20.1 build matching and drivers (ATDV-369)
e10harvey Jun 18, 2020
86fc100
ATDM/van1-tx2: Updated environment to support arm-20.1 (ATDM-369)
e10harvey Jun 18, 2020
f9a5c2f
ATDM/van1-tx2: Handle OMP_XXX vars silence git reload warning (ATDV-369)
e10harvey Jun 19, 2020
18010e3
ATDM/van1-tx2: Add back metis, parmetis, superludist, and binutils ex…
e10harvey Jun 19, 2020
830a683
ATDM/van1-tx2: Promote arm-20.1 to Specialized group (ATDV-369)
e10harvey Jun 22, 2020
e1d4af9
This just casts an unsigned to signed to avoid a compiler assert in a…
prwolfe Jun 22, 2020
68c8734
Updating the Helmholtz KKT example with test scripts.
dridzal Jun 26, 2020
668122d
Removed unused variable.
dpkouri Jun 26, 2020
d7a53f4
Merge remote-tracking branch 'upstream/develop' into develop
dridzal Jun 27, 2020
3f3c0c3
The compile times for two Panzer files went up to over 6 hours. This
trilinos-autotester Jun 29, 2020
2b94df6
Merge Pull Request #7551 from e10harvey/Trilinos/atdv-369-atdm-van1-tx2
trilinos-autotester Jun 29, 2020
9884f67
Merge Pull Request #7593 from dridzal/Trilinos/rol-trilinos-sync
trilinos-autotester Jun 29, 2020
2e60840
Merge pull request #7600 from prwolfe/temp_fix_7532
prwolfe Jun 29, 2020
4fdfe24
Registrar.C - cast to correct return type
prwolfe Jun 29, 2020
4874da5
Merge Pull Request #7570 from prwolfe/Trilinos/pamgen_Registrar_asser…
trilinos-autotester Jun 29, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

#export SALLOC_CTEST_TIME_LIMIT_MINUTES=1:00:00

if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Specialized
fi

$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/van1-tx2/local-driver.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

#export SALLOC_CTEST_TIME_LIMIT_MINUTES=1:00:00

if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Specialized
fi

$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/van1-tx2/local-driver.sh
5 changes: 5 additions & 0 deletions cmake/std/PullRequestLinuxCuda9.2TestingSettings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ set (TPL_ENABLE_BoostLib OFF CACHE BOOL "Set by default for CUDA PR testing")
set (TPL_ENABLE_Matio OFF CACHE BOOL "Set by default for CUDA PR testing")
set (TPL_DLlib_LIBRARIES "-ldl" CACHE FILEPATH "Set by default for CUDA PR testing")

# The compile times for two Panzer files went up to over 6 hours. This
# turns off one feature that allows these in about 24 minutes. Please remove
# when issue #7532 is resolved.
set (Sacado_NEW_FAD_DESIGN_IS_DEFAULT OFF CACHE BOOL "Temporary fix for issue #7532" )

# Disable some packages that can't be tested with this PR build
set (Trilinos_ENABLE_ShyLU_NodeTacho OFF CACHE BOOL
"Can't test Tacho with CUDA without RDC" FORCE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ fi
# Test atdm get_known_system_info script
#
test_atdm_get_known_system_info() {
# TODO: D.2 needs to be tested by setting these values:
# Tweak these values for testing on other platforms
# TODO: Test branch D.2 in get_known_system_info.sh
SNLSYSTEM=
SEMS_PLATFORM=
ATDM_SYSTEM_NAME=
SNLCLUSTER=

# Get the good ATDM_KNOWN_SYSTEM_NAMES_LIST
ATDM_CONFIG_BUILD_NAME=unit_test
HOST=
ATDM_CONFIG_SEMS_GET_PLATFORM=/fake/path/for/unit/testing/
ATDM_CONFIG_GET_KNOW_SYSTEM_INFO_REAL_HOSTNAME_OVERRIDE_FOR_UNIT_TESTING=unit_test
ATDM_CONFIG_BUILD_NAME=$ATDM_CONFIG_GET_KNOW_SYSTEM_INFO_REAL_HOSTNAME_OVERRIDE_FOR_UNIT_TESTING
ATDM_CONFIG_DISABLE_WARNINGS=ON
# Populate ATDM_KNOWN_SYSTEM_NAMES_LIST
source ${ATDM_UTIL_SCRIPT_GET_KNOWN_SYSTEM_INFO}

# Check that all known system names pass
Expand Down Expand Up @@ -55,7 +58,7 @@ test_atdm_get_known_system_info() {
SNLSYSTEM=cts1
RET=$(source ${ATDM_UTIL_SCRIPT_GET_KNOWN_SYSTEM_INFO})
assertEquals "Hostname '$ATDM_CONFIG_BUILD_NAME' matches known ATDM host '$ATDM_CONFIG_BUILD_NAME' and system 'cts1empire'" "$RET"

# Ensure that cts1 is still selected when it's in the build name
ATDM_CONFIG_BUILD_NAME=cts1-default
ATDM_CONFIG_GET_KNOW_SYSTEM_INFO_REAL_HOSTNAME_OVERRIDE_FOR_UNIT_TESTING=$ATDM_CONFIG_BUILD_NAME
Expand Down
15 changes: 6 additions & 9 deletions cmake/std/atdm/utils/get_known_system_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ fi

source ${ATDM_CONFIG_SCRIPT_DIR}/utils/get_system_info_utils.sh

realHostname=`hostname`
# TODO: come up with a better way to unit test this code.
unset $ATDM_CONFIG_HOSTNAME_OVERRIDE
if [[ "${ATDM_CONFIG_GET_KNOW_SYSTEM_INFO_REAL_HOSTNAME_OVERRIDE_FOR_UNIT_TESTING}" ]] ; then
if [[ -z $ATDM_CONFIG_DISABLE_WARNINGS ]]; then
echo
Expand All @@ -45,7 +42,9 @@ if [[ "${ATDM_CONFIG_GET_KNOW_SYSTEM_INFO_REAL_HOSTNAME_OVERRIDE_FOR_UNIT_TESTIN
echo
fi
realHostname=${ATDM_CONFIG_GET_KNOW_SYSTEM_INFO_REAL_HOSTNAME_OVERRIDE_FOR_UNIT_TESTING}
ATDM_CONFIG_HOSTNAME_OVERRIDE=true
else
realHostname=`hostname`
ATDM_CONFIG_SEMS_GET_PLATFORM=/projects/sems/modulefiles/utils/get-platform
fi
#echo "Hostname = '$realHostname'"

Expand Down Expand Up @@ -141,8 +140,7 @@ fi
#

# ATS-1 systems
if [[ $realHostname == "mutrino"* ||
$HOST == "mutrino"* && -z $ATDM_CONFIG_HOSTNAME_OVERRIDE ]] ; then
if [[ $realHostname == "mutrino"* || $HOST == "mutrino"* ]] ; then
systemNameTypeMatchedList+=(ats1)
systemNameTypeMatchedListHostNames[ats1]=mutrino
systemNameTypeMatchedList+=(mutrino)
Expand Down Expand Up @@ -182,9 +180,8 @@ elif [[ "${SNLSYSTEM}" == "astra" || \
"${SNLSYSTEM}" == "vortex" ]] ; then
echo "Don't call get-platform on 'astra' systems" > /dev/null
# Above logic avoids an 'ERROR: Unrecognized cluster <name>' on these systems
elif [[ -f /projects/sems/modulefiles/utils/get-platform &&
-z $ATDM_CONFIG_HOSTNAME_OVERRIDE ]] ; then
ATDM_SYSTEM_NAME=`source /projects/sems/modulefiles/utils/get-platform`
elif [[ -f $ATDM_CONFIG_SEMS_GET_PLATFORM ]] ; then
ATDM_SYSTEM_NAME=`source $ATDM_CONFIG_SEMS_GET_PLATFORM`
if [[ $ATDM_SYSTEM_NAME == "rhel6-x86_64" ]] ; then
systemNameTypeMatchedList+=(sems-rhel6)
systemNameTypeMatchedListHostNames[sems-rhel6]=sems-rhel6
Expand Down
2 changes: 2 additions & 0 deletions cmake/std/atdm/van1-tx2/all_supported_builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ export ATDM_CONFIG_CTEST_S_BUILD_NAME_PREFIX=Trilinos-atdm-
export ATDM_CONFIG_ALL_SUPPORTED_BUILDS=(
van1-tx2_arm-20.0_openmpi-4.0.2_openmp_static_opt
van1-tx2_arm-20.0_openmpi-4.0.2_openmp_static_dbg
van1-tx2_arm-20.1_openmpi-4.0.3_openmp_static_opt
van1-tx2_arm-20.1_openmpi-4.0.3_openmp_static_dbg
)
9 changes: 8 additions & 1 deletion cmake/std/atdm/van1-tx2/custom_builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
# Custom builds for van1-tx2 env
#

# Try matching against arm-20.1 before arm-20 or arm
if atdm_match_any_buildname_keyword \
arm-20.1-openmpi-4.0.3 \
arm-20.1_openmpi-4.0.3 \
arm-20.1 \
; then
export ATDM_CONFIG_COMPILER=ARM-20.1_OPENMPI-4.0.3
elif atdm_match_any_buildname_keyword \
arm-20.0-openmpi-4.0.2 \
arm-20.0_openmpi-4.0.2 \
arm-20.0 \
Expand All @@ -11,7 +18,6 @@ if atdm_match_any_buildname_keyword \
default \
; then
export ATDM_CONFIG_COMPILER=ARM-20.0_OPENMPI-4.0.2

else
echo
echo "***"
Expand All @@ -20,6 +26,7 @@ else
echo "*** Supported compilers include:"
echo "***"
echo "**** arm-20.0-openmpi-4.0.2 (arm-20.0, default)"
echo "**** arm-20.1-openmpi-4.0.3 (arm-20.1)"
echo "***"
return

Expand Down
30 changes: 22 additions & 8 deletions cmake/std/atdm/van1-tx2/custom_builds_unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,52 @@ testAll() {

ATDM_CONFIG_SYSTEM_DIR=${ATDM_CONFIG_SCRIPT_DIR}/van1-tx2

#### TEST ARM-20.0 ####
ATDM_CONFIG_BUILD_NAME=default
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ${ATDM_CONFIG_COMPILER} ARM-20.0_OPENMPI-4.0.2
${_ASSERT_EQUALS_} ARM-20.0_OPENMPI-4.0.2 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before-arm-20.0-openmpi-4.0.2_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ${ATDM_CONFIG_COMPILER} ARM-20.0_OPENMPI-4.0.2
${_ASSERT_EQUALS_} ARM-20.0_OPENMPI-4.0.2 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before-arm-20.0_openmpi-4.0.2-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ${ATDM_CONFIG_COMPILER} ARM-20.0_OPENMPI-4.0.2
${_ASSERT_EQUALS_} ARM-20.0_OPENMPI-4.0.2 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_arm-20.0-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ${ATDM_CONFIG_COMPILER} ARM-20.0_OPENMPI-4.0.2
${_ASSERT_EQUALS_} ARM-20.0_OPENMPI-4.0.2 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_arm-20-afert
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ${ATDM_CONFIG_COMPILER} ARM-20.0_OPENMPI-4.0.2
${_ASSERT_EQUALS_} ARM-20.0_OPENMPI-4.0.2 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before-arm-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ${ATDM_CONFIG_COMPILER} ARM-20.0_OPENMPI-4.0.2
${_ASSERT_EQUALS_} ARM-20.0_OPENMPI-4.0.2 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=BEFORE-ARM-AFTER
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ${ATDM_CONFIG_COMPILER} ARM-20.0_OPENMPI-4.0.2
${_ASSERT_EQUALS_} ARM-20.0_OPENMPI-4.0.2 ${ATDM_CONFIG_COMPILER}

# Make sure 'arms' does not match 'arm'
ATDM_CONFIG_BUILD_NAME=anything-arms
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ${ATDM_CONFIG_COMPILER} DEFAULT
${_ASSERT_EQUALS_} DEFAULT ${ATDM_CONFIG_COMPILER}

#### Test ARM-20.1 ####
ATDM_CONFIG_BUILD_NAME=before-arm-20.1-openmpi-4.0.3_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.3 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before-arm-20.1_openmpi-4.0.3-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.3 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_arm-20.1-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.3 ${ATDM_CONFIG_COMPILER}

}

Expand Down
76 changes: 46 additions & 30 deletions cmake/std/atdm/van1-tx2/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ if [[ "${ATDM_CONFIG_BUILD_TYPE}" == "DEBUG" ]] ; then
# Reducing this is to avoid that. See CDOFA-117.
fi

if [[ "$ATDM_CONFIG_NODE_TYPE" == "OPENMP" ]] ; then
export ATDM_CONFIG_CTEST_PARALLEL_LEVEL=16
export OMP_NUM_THREADS=2
else
export ATDM_CONFIG_CTEST_PARALLEL_LEVEL=32
export OMP_PROC_BIND=FALSE
export OMP_NUM_THREADS=1
fi

#
# Load the modules
#
Expand All @@ -67,6 +58,43 @@ if [[ "$ATDM_CONFIG_COMPILER" == "ARM-20.0_OPENMPI-4.0.2" ]]; then
export LAPACK_ROOT="$ARMPL_LIB"
export ATDM_CONFIG_LAPACK_LIBS="-L${LAPACK_ROOT};-larmpl_ilp64_mp"
export ATDM_CONFIG_BLAS_LIBS="-L${LAPACK_ROOT};-larmpl_ilp64_mp"

# We'll use TPL_ROOT for consistency across ATDM environments
export MPI_ROOT=${MPI_DIR}
export BLAS_ROOT=${ARMPL_DIR}
export LAPACK_ROOT=${ARMPL_DIR}
export HDF5_ROOT=${HDF5_DIR}
export NETCDF_ROOT=${NETCDF_DIR}
export PNETCDF_ROOT=${PNETCDF_DIR}
export ZLIB_ROOT=${ZLIB_DIR}
export CGNS_ROOT=${CGNS_DIR}
export BOOST_ROOT=${BOOST_DIR}
export METIS_ROOT=${METIS_DIR}
export PARMETIS_ROOT=${PARMETIS_DIR}
export SUPERLUDIST_ROOT=${SUPERLU_DIST_DIR}
export BINUTILS_ROOT=${BINUTILS_DIR}

module load git/2.19.2
elif [[ "$ATDM_CONFIG_COMPILER" == "ARM-20.1_OPENMPI-4.0.3" ]]; then
module load sparc-dev/arm-20.1_openmpi-4.0.3

if [ "$ATDM_CONFIG_NODE_TYPE" == "OPENMP" ] ; then
unset OMP_PLACES
unset OMP_PROC_BIND
fi

# We'll use TPL_ROOT for consistency across ATDM environments
export MPI_ROOT=${MPI_DIR}
export BLAS_ROOT=${ARMPL_DIR}
export HDF5_ROOT=${HDF5_DIR}
export NETCDF_ROOT=${NETCDF_DIR}
export PNETCDF_ROOT=${PNETCDF_DIR}
export ZLIB_ROOT=${ZLIB_DIR}
export CGNS_ROOT=${CGNS_DIR}
export METIS_ROOT=${METIS_DIR}
export PARMETIS_ROOT=${PARMETIS_DIR}
export SUPERLUDIST_ROOT=${SUPERLU_DIST_DIR}
export BINUTILS_ROOT=${BINUTILS_DIR}
else
echo
echo "***"
Expand All @@ -75,30 +103,18 @@ else
return
fi

if [[ "$ATDM_CONFIG_NODE_TYPE" == "OPENMP" ]] ; then
export ATDM_CONFIG_CTEST_PARALLEL_LEVEL=16
export OMP_NUM_THREADS=2
else
export ATDM_CONFIG_CTEST_PARALLEL_LEVEL=32
export OMP_PROC_BIND=FALSE
export OMP_NUM_THREADS=1
fi

# Common modules for all builds
module load ninja
module load cmake/3.12.2
module load git/2.19.2

#
# Set up for the TPLs
#

# Common TPL paths, we'll use TPL_ROOT for consistency across ATDM
# environments
export MPI_ROOT=${MPI_DIR}
export BLAS_ROOT=${ARMPL_DIR}
export LAPACK_ROOT=${ARMPL_DIR}
export HDF5_ROOT=${HDF5_DIR}
export NETCDF_ROOT=${NETCDF_DIR}
export PNETCDF_ROOT=${PNETCDF_DIR}
export ZLIB_ROOT=${ZLIB_DIR}
export CGNS_ROOT=${CGNS_DIR}
export BOOST_ROOT=${BOOST_DIR}
export METIS_ROOT=${METIS_DIR}
export PARMETIS_ROOT=${PARMETIS_DIR}
export SUPERLUDIST_ROOT=${SUPERLU_DIST_DIR}
export BINUTILS_ROOT=${BINUTILS_DIR}

export ATDM_CONFIG_USE_HWLOC=OFF
export HWLOC_LIBS=
Expand Down
2 changes: 1 addition & 1 deletion packages/pamgen/rtcompiler/Registrar.C
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ double Readline::execute(Value** args)

string line;
if (getline(curr_file, line)) {
assert(args[1]->getSize() > line.size()); // buffer needs to be big enough
assert(args[1]->getSize() > long(line.size())); // buffer needs to be big enough
for (size_t i = 0; i < line.size(); ++i) {
args[1]->setArrayValue(line[i], i);
}
Expand Down
12 changes: 12 additions & 0 deletions packages/rol/adapters/pebbl/src/algorithm/ROL_PEBBL_Driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ class ROL_PEBBL_Driver {

public:

ROL_PEBBL_Driver(const Ptr<ROL_PEBBL_Branching<Real>> &branching)
: branching_(branching) {}

ROL_PEBBL_Driver(const Ptr<OptimizationProblemFactory<Real>> &factory,
const Ptr<ParameterList> &parlist,
const Ptr<BranchHelper_PEBBL<Real>> &bHelper,
Expand All @@ -46,6 +49,15 @@ class ROL_PEBBL_Driver {
}
return flag;
}

const Ptr<Vector<Real>> getSolution(void) const {
if (branching_ != nullPtr) {
return dynamic_cast<ROL_PEBBL_Solution<Real>*>(branching_->incumbent)->getVector();
}
else {
return nullPtr;
}
}
};

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ROL_PEBBL_Solution : public pebbl::solution {

template<class Real>
class ROL_PEBBL_Branching : public pebbl::branching {
private:
protected:
// OptimizationProblem encapsulates the following problem
// min obj(x)
// subject to xl <= x <= xu
Expand All @@ -99,7 +99,7 @@ class ROL_PEBBL_Branching : public pebbl::branching {
: factory_(factory), parlist_(parlist), bHelper_(bHelper),
verbosity_(verbosity), outStream_(outStream) {}

pebbl::branchSub* blankSub() {
virtual pebbl::branchSub* blankSub() {
return new ROL_PEBBL_BranchSub<Real>(makePtrFromRef<ROL_PEBBL_Branching<Real>>(*this),verbosity_,outStream_);
}

Expand All @@ -126,7 +126,7 @@ class ROL_PEBBL_Branching : public pebbl::branching {

template<class Real>
class ROL_PEBBL_BranchSub : public pebbl::branchSub {
private:
protected:
const Ptr<ROL_PEBBL_Branching<Real>> branching_;
const Ptr<BranchHelper_PEBBL<Real>> bHelper_;
std::map<int,Real> fixed_;
Expand Down Expand Up @@ -306,10 +306,11 @@ class ROL_PEBBL_BranchSub : public pebbl::branchSub {
return (nfrac_==0);
}

void incumbentHeuristic() {
virtual void incumbentHeuristic() {
Real tol(std::sqrt(ROL_EPSILON<Real>()));
rndSolution_->set(*solution_);
rndSolution_->applyUnary(rnd);
problem0_->getObjective()->update(*rndSolution_);
Real val = problem0_->getObjective()->value(*rndSolution_,tol);
branching_->foundSolution(new ROL_PEBBL_Solution<Real>(*rndSolution_,val));
}
Expand Down
Loading