Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ constraint_solver/

or-tools/src/constraint_solver/hybrid.cc File Reference

#include <math.h>
#include "base/hash.h"
#include "base/callback.h"
#include "base/commandlineflags.h"
#include "base/integral_types.h"
#include "base/macros.h"
#include "base/scoped_ptr.h"
#include "base/stl_util.h"
#include "constraint_solver/constraint_solver.h"
#include "constraint_solver/constraint_solveri.h"
#include "linear_solver/linear_solver.h"
#include "util/string_array.h"

Go to the source code of this file.

Namespaces

namespace  operations_research

Defines

#define IS_TYPE(type, tag)   type.compare(ModelVisitor::tag) == 0

Typedefs

typedef hash_map< const
IntExpr *, MPVariable * > 
operations_research::ExprTranslation
 Automatic Linearization.

Functions

 DEFINE_int32 (simplex_cleanup_frequency, 0,"frequency to cleanup the simplex after each call, 0: no cleanup")
 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
 DEFINE_bool (verbose_simplex_call, false,"Do not suppress output of the simplex")
 DEFINE_bool (use_clp, true,"use Clp instead of glpk")
MPSolver::OptimizationProblemType operations_research::GetType (bool use_clp)


Define Documentation

#define IS_TYPE ( type,
tag   )     type.compare(ModelVisitor::tag) == 0

Definition at line 125 of file hybrid.cc.


Function Documentation

DEFINE_bool ( use_clp  ,
true  ,
"use Clp instead of glpk"   
)

DEFINE_bool ( verbose_simplex_call  ,
false  ,
"Do not suppress output of the simplex"   
)

DEFINE_int32 ( simplex_cleanup_frequency  ,
,
"frequency to cleanup the simplex after each   call,
0:no cleanup"   
)

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

std::vector<bool> actives_

Definition at line 550 of file hybrid.cc.

scoped_ptr<Callback1<MPSolver*> > builder_

Definition at line 110 of file hybrid.cc.

int64 counter_

Definition at line 114 of file hybrid.cc.

bool maximize_

Definition at line 549 of file hybrid.cc.

scoped_ptr<Callback1<MPSolver*> > modifier_

Definition at line 111 of file hybrid.cc.

MPSolver mp_solver_

Definition at line 113 of file hybrid.cc.

IntVar* objective_

Definition at line 548 of file hybrid.cc.

scoped_ptr<Callback1<MPSolver*> > runner_

Definition at line 112 of file hybrid.cc.

const int simplex_frequency_

Definition at line 115 of file hybrid.cc.

ExprTranslation translation_

Definition at line 547 of file hybrid.cc.