or-tools/src/constraint_solver/search.cc File Reference
#include <string.h>
#include <algorithm>
#include "base/hash.h"
#include <list>
#include <string>
#include <utility>
#include <vector>
#include "base/callback.h"
#include "base/casts.h"
#include "base/commandlineflags.h"
#include "base/integral_types.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/scoped_ptr.h"
#include "base/stringprintf.h"
#include "base/timer.h"
#include "base/join.h"
#include "base/bitmap.h"
#include "base/concise_iterator.h"
#include "base/map-util.h"
#include "base/stl_util.h"
#include "constraint_solver/constraint_solver.h"
#include "constraint_solver/constraint_solveri.h"
#include "constraint_solver/search_limit.pb.h"
#include "util/string_array.h"
#include "base/random.h"
Go to the source code of this file.
Function Documentation
DEFINE_bool |
( |
cp_use_sparse_gls_penalties |
, |
|
|
false |
, |
|
|
"Use sparse implementation to store Guided Local Search penalties" |
| |
|
) |
| | |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Variable Documentation
If cumulative if false, then the limit applies to each search independently.
If it's true, the limit applies globally to all search for which this monitor is used. When cumulative is true, the offset fields have two different meanings depending on context:
- within a search, it's an offset to be subtracted from the current value
- outside of search, it's the amount consumed in previous searches
Definition at line 3795 of file search.cc.
DecisionBuilder* const db_ |
scoped_ptr<ResultCallback2<int64, int64, int64> > eval_ |
BaseVariableAssignmentSelector* const selector_ |
scoped_array<IntVar*> vars_ |