Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model_utils.h File Reference
#include <string>
#include "absl/status/statusor.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)