Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model_utils.cc File Reference
#include "ortools/math_opt/io/lp/model_utils.h"
#include <string>
#include <utility>
#include "absl/container/flat_hash_set.h"
#include "absl/log/check.h"
#include "absl/status/statusor.h"
#include "ortools/base/status_builder.h"
#include "ortools/base/status_macros.h"
#include "ortools/base/strong_vector.h"
#include "ortools/math_opt/io/lp/lp_model.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::lp_format
 

Functions

LpModel operations_research::lp_format::RemoveUnusedVariables (const LpModel &model)
 
absl::StatusOr< LpModeloperations_research::lp_format::PermuteVariables (const LpModel &model, const util_intops::StrongVector< VariableIndex, VariableIndex > &new_index_to_old_index)
 
absl::StatusOr< LpModeloperations_research::lp_format::PermuteVariables (const LpModel &model, const util_intops::StrongVector< VariableIndex, std::string > &order_by_name)