Showing content from https://scip.zib.de/doc/html/struct__sol_8h_source.php below:
SCIP Doxygen Documentation: struct_sol.h Source File
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 3/* This file is part of the program and library */ 4/* SCIP --- Solving Constraint Integer Programs */ 6/* Copyright (c) 2002-2025 Zuse Institute Berlin (ZIB) */ 8/* Licensed under the Apache License, Version 2.0 (the "License"); */ 9/* you may not use this file except in compliance with the License. */ 10/* You may obtain a copy of the License at */ 12/* http://www.apache.org/licenses/LICENSE-2.0 */ 14/* Unless required by applicable law or agreed to in writing, software */ 15/* distributed under the License is distributed on an "AS IS" BASIS, */ 16/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 17/* See the License for the specific language governing permissions and */ 18/* limitations under the License. */ 20/* You should have received a copy of the Apache-2.0 license */ 21/* along with SCIP; see the file LICENSE. If not visit scipopt.org. */ 23/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 26 * @ingroup INTERNALAPI 27 * @brief datastructures for storing primal CIP solutions 28 * @author Tobias Achterberg 31/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 34#ifndef __SCIP_STRUCT_SOL_H__ 35#define __SCIP_STRUCT_SOL_H__ 49/** maximum violations of problem constraints */ 61/** primal CIP solution 63 * For reasons of efficiency, a working solution only stores values that have been accessed at least once, 64 * or that have been changed from the value in the solution's source. 65 * The user has to call SCIPsolUnlink() in order to retrieve all non-cached elements from the solution's source 66 * and to store the values in the solution's own array. This changes the solution's origin to SCIP_SOLORIGIN_ZERO. 67 * A linked solution with origin SCIP_SOLORIGIN_LPSOL or SCIP_SOLORIGIN_PSEUDOSOL becomes invalid after the 68 * next node is focused (i.e. the LP and pseudo solutions changed) and cannot be accessed anymore. 70 * Solutions with origin ORIGINAL contain the values for original variables. The stored objective value also 71 * corresponds to the original problem. 83 SCIP_HEUR
*
heur
;
/**< heuristic that found the solution, if solution is of heuristic type */ 84 SCIP_RELAX
*
relax
;
/**< relaxation handler that found the solution, if solution has relax type */ 87 int runnum
;
/**< branch and bound run number in which the solution was found */ 88 int depth
;
/**< depth at which the solution was found */ 89 int primalindex
;
/**< index of solution in array of existing solutions of primal data */ 90 int index
;
/**< consecutively numbered unique index of all created solutions */ 93 * could also be implemented as a counter for the number of infinite 94 * values, to avoid redundant checks when resetting inf. solution values 96 SCIP_SOLTYPE type
;
/**< type of solution: heuristic or (LP) relaxation solution, or unspecified origin */ 98 SCIP_Longint lpcount
;
/**< number of LPs solved when this solution was created, needed for debug checks 99 * concerning solutions linked to the LP solution
common defines and data types used in all packages of SCIP
union SCIP_Sol::@18 creator
SCIP_Real absviolintegrality
type definitions for primal heuristics
type definitions for miscellaneous datastructures
type definitions for relaxators
type definitions for storing primal CIP solutions
enum SCIP_SolType SCIP_SOLTYPE
enum SCIP_SolOrigin SCIP_SOLORIGIN
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4