2019-06-13 13:08:49 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2019-06-13 02:45:44 +02:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
2019-06-13 13:08:49 +02:00
< head >
< title > OR-Tools< / title >
< meta http-equiv = "Content-Type" content = "text/html;" / >
< meta charset = "utf-8" / >
<!-- <link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/> -->
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2020-09-01 16:00:33 +02:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "styleSheet.tmp.css" rel = "stylesheet" type = "text/css" / >
2019-06-13 13:08:49 +02:00
< / head >
< body >
< div id = "banner-container" >
< div id = "banner" >
2021-09-20 15:57:27 +02:00
< span id = "sfml" > Google OR-Tools 9.1< / span >
2019-06-13 13:08:49 +02:00
< / div >
< / div >
2019-08-07 18:01:08 -07:00
< div id = "content" style = "width: 100%; overflow: hidden;" >
< div style = "margin-left: 15px; margin-top: 5px; float: left; color: #145A32;" >
2019-08-12 09:16:03 -07:00
< h2 > Java Reference< / h2 >
2019-08-07 18:01:08 -07:00
< ul >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1sat.html" > CP-SAT< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1graph.html" > Graph< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1algorithms.html" > Knapsack solver< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1linearsolver.html" > Linear solver< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1constraintsolver.html" > Routing< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1util.html" > Util< / a > < / li >
< / ul >
< / div >
2019-06-13 13:08:49 +02:00
< div id = "content" >
2019-08-07 18:01:08 -07:00
< div align = "center" >
< h1 style = "color: #145A32;" > Java Reference< / h1 >
< / div >
2021-09-20 15:57:27 +02:00
<!-- Generated by Doxygen 1.8.15 -->
2020-09-01 16:00:33 +02:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-09-20 15:57:27 +02:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2020-09-01 16:00:33 +02:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
2019-06-13 02:45:44 +02:00
< / div > <!-- top -->
2020-09-01 16:00:33 +02:00
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-09-20 15:57:27 +02:00
$(document).ready(function(){initNavTree('deprecated.html','');});
2020-09-01 16:00:33 +02:00
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
2019-06-13 02:45:44 +02:00
< div class = "PageDoc" > < div class = "header" >
< div class = "headertitle" >
< div class = "title" > Deprecated List < / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < dl class = "reflist" >
2021-01-26 11:28:50 +01:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1ConstraintProto_1_1ConstraintCase.html#afa3c6103bdc1441ac328b4ab5f0fa942" > ConstraintProto.ConstraintCase.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000010" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1ConstraintProto_1_1ConstraintCase.html#a67e7ba4dd1f5b223e78b8d68b66fc292" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1ConstraintSolverParameters_1_1TrailCompression.html#a9aa456bca6b2ccf0f06ee4f5318a8a2e" > ConstraintSolverParameters.TrailCompression.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000001" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1ConstraintSolverParameters_1_1TrailCompression.html#a98edca386ee2f60160e2f64ba4cdfeb2" > forNumber(int)< / a > instead. < / dd >
2021-09-20 15:57:27 +02:00
< dt > Member < a class = "el" href = "classcom_1_1google_1_1ortools_1_1sat_1_1CpSolver.html#a7ffc251fef14d87ad82ac59f98d96cf9" > CpSolver.searchAllSolutions< / a > (< a class = "el" href = "classcom_1_1google_1_1ortools_1_1sat_1_1CpModel.html" title = "Main modeling class." > CpModel< / a > model, < a class = "el" href = "classcom_1_1google_1_1ortools_1_1sat_1_1CpSolverSolutionCallback.html" title = "Parent class to create a callback called at each solution." > CpSolverSolutionCallback< / a > cb)< / dt >
< dd > < a class = "anchor" id = "_deprecated000027" > < / a > Use the < a class = "el" href = "classcom_1_1google_1_1ortools_1_1sat_1_1CpSolver.html#a94cfac9362c485d50a8930688fe81a3e" title = "Solves the given model, and returns the solve status." > solve()< / a > method with the same signature, after setting the enumerate_all_solution parameter to true. < / dd >
< dt > Member < a class = "el" href = "classcom_1_1google_1_1ortools_1_1sat_1_1CpSolver.html#a4b61919bdcff3d458bf6807086c48be6" > CpSolver.solveWithSolutionCallback< / a > (< a class = "el" href = "classcom_1_1google_1_1ortools_1_1sat_1_1CpModel.html" title = "Main modeling class." > CpModel< / a > model, < a class = "el" href = "classcom_1_1google_1_1ortools_1_1sat_1_1CpSolverSolutionCallback.html" title = "Parent class to create a callback called at each solution." > CpSolverSolutionCallback< / a > cb)< / dt >
< dd > < a class = "anchor" id = "_deprecated000026" > < / a > Use the < a class = "el" href = "classcom_1_1google_1_1ortools_1_1sat_1_1CpSolver.html#a94cfac9362c485d50a8930688fe81a3e" title = "Solves the given model, and returns the solve status." > solve()< / a > method with the same signature. < / dd >
2021-01-26 11:28:50 +01:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1CpSolverStatus.html#a73c655e811e7744a77b5b1bf83f46906" > CpSolverStatus.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000011" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1CpSolverStatus.html#a21107066192790fd155be95fcb475a98" > forNumber(int)< / a > instead. < / dd >
2020-09-01 16:00:33 +02:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1DecisionStrategyProto_1_1DomainReductionStrategy.html#a5c079695af8094334a2367e4a613fe4b" > DecisionStrategyProto.DomainReductionStrategy.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000013" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1DecisionStrategyProto_1_1DomainReductionStrategy.html#a62c03d42b3c59e5c3fae923f10e036ae" > forNumber(int)< / a > instead. < / dd >
2021-01-26 11:28:50 +01:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1DecisionStrategyProto_1_1VariableSelectionStrategy.html#a6029a0ea278581f06ffd4eb0f90f312d" > DecisionStrategyProto.VariableSelectionStrategy.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000012" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1DecisionStrategyProto_1_1VariableSelectionStrategy.html#ab1c2cda35b9d69307f3101043bd870b8" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1FirstSolutionStrategy_1_1Value.html#a8f609e5c6b11ee6002bc9f0bc85c7d6c" > FirstSolutionStrategy.Value.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000002" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1FirstSolutionStrategy_1_1Value.html#ae071ce79c0d08f7b511ef6670d024e23" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1LocalSearchMetaheuristic_1_1Value.html#a8f609e5c6b11ee6002bc9f0bc85c7d6c" > LocalSearchMetaheuristic.Value.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000003" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1LocalSearchMetaheuristic_1_1Value.html#ae071ce79c0d08f7b511ef6670d024e23" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPGeneralConstraintProto_1_1GeneralConstraintCase.html#aa8ed5b0d1f60baa7ae86c8256bf56e0e" > MPGeneralConstraintProto.GeneralConstraintCase.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000005" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPGeneralConstraintProto_1_1GeneralConstraintCase.html#a296c483e1ac7c70238d4ef4e1e726421" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelRequest_1_1SolverType.html#a6f42f365c4d0b5bd86ac490954fb885b" > MPModelRequest.SolverType.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000006" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelRequest_1_1SolverType.html#a0a736a82902f1ddd34412959ff8236be" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverCommonParameters_1_1LPAlgorithmValues.html#ab6a447cfa9d047ae39986229ecbb27e8" > MPSolverCommonParameters.LPAlgorithmValues.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000007" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverCommonParameters_1_1LPAlgorithmValues.html#a31eb93c88064f966ffada2539a8efd26" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverResponseStatus.html#a6af1d88087ccea17d287eb1356407bff" > MPSolverResponseStatus.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000008" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverResponseStatus.html#a66410cd54e03ea4612c4319586b3ac0b" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSosConstraint_1_1Type.html#a17352a30f8459b5c4621ee2fa7425e57" > MPSosConstraint.Type.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000009" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSosConstraint_1_1Type.html#ad942aef7eed48f9b7955863483acdee3" > forNumber(int)< / a > instead. < / dd >
2019-08-07 18:01:08 -07:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1util_1_1OptionalBoolean.html#ab707e8c692fafcaa3dca49ab7c60c5a3" > OptionalBoolean.valueOf< / a > (int value)< / dt >
2020-08-03 11:20:29 +02:00
< dd > < a class = "anchor" id = "_deprecated000025" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1util_1_1OptionalBoolean.html#aa805697c0eaeb4f37a95e243262e449f" > forNumber(int)< / a > instead. < / dd >
2021-01-26 11:28:50 +01:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1RoutingSearchParameters_1_1SchedulingSolver.html#a2b69057cb05ca8fb3e3df1fbab1ebe3d" > RoutingSearchParameters.SchedulingSolver.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000004" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1RoutingSearchParameters_1_1SchedulingSolver.html#a27669c781f8ac88398c6b7a34f4c4301" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1BinaryMinizationAlgorithm.html#a531605f6bd27449026bfca3cf1a91561" > SatParameters.BinaryMinizationAlgorithm.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000017" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1BinaryMinizationAlgorithm.html#a47309304e02021bc03bcac1322be84bb" > forNumber(int)< / a > instead. < / dd >
2019-08-07 18:01:08 -07:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ClauseOrdering.html#a4978052d5d874455d3ede61428bd821f" > SatParameters.ClauseOrdering.valueOf< / a > (int value)< / dt >
2020-09-01 16:00:33 +02:00
< dd > < a class = "anchor" id = "_deprecated000019" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ClauseOrdering.html#ae255de63109a7d1b9cddd8b6009399f7" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ClauseProtection.html#aae51953e9a86f1250628acb4c605c352" > SatParameters.ClauseProtection.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000018" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ClauseProtection.html#af2eb0b0753f1f65c4b65b8198fb36d54" > forNumber(int)< / a > instead. < / dd >
2019-08-07 18:01:08 -07:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ConflictMinimizationAlgorithm.html#a148ee9fec854f191ce029367071352d0" > SatParameters.ConflictMinimizationAlgorithm.valueOf< / a > (int value)< / dt >
2020-09-01 16:00:33 +02:00
< dd > < a class = "anchor" id = "_deprecated000016" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ConflictMinimizationAlgorithm.html#a720de651a6a79a3ee4af9e17b0d3575f" > forNumber(int)< / a > instead. < / dd >
2021-01-26 11:28:50 +01:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1FPRoundingMethod.html#a7f39bb09029a9971e92d4bcc6ba3a036" > SatParameters.FPRoundingMethod.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000024" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1FPRoundingMethod.html#a06f8fd6dee43cc1d6121abe037533b6a" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1MaxSatAssumptionOrder.html#a1cc17d9c18dd0781c52d2419d50e568d" > SatParameters.MaxSatAssumptionOrder.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000021" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1MaxSatAssumptionOrder.html#a11cc74af90b4c202ba412ca79b67563c" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1MaxSatStratificationAlgorithm.html#ac87aba2e340050e28bf8bff68d516963" > SatParameters.MaxSatStratificationAlgorithm.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000022" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1MaxSatStratificationAlgorithm.html#a11a20e9ce08076da81eb1b4ea15c95db" > forNumber(int)< / a > instead. < / dd >
2019-08-07 18:01:08 -07:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1Polarity.html#a180d41a9cc093807934e33cef6402ed3" > SatParameters.Polarity.valueOf< / a > (int value)< / dt >
2020-09-01 16:00:33 +02:00
< dd > < a class = "anchor" id = "_deprecated000015" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1Polarity.html#ae2f9f5fc584b737ae4c16dcddd0f2f6f" > forNumber(int)< / a > instead. < / dd >
2021-01-26 11:28:50 +01:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1RestartAlgorithm.html#a059d983848794b0c44aadf525e5cdeea" > SatParameters.RestartAlgorithm.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000020" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1RestartAlgorithm.html#a97bc4fefd1ece7ca9607083a807f88eb" > forNumber(int)< / a > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1SearchBranching.html#a09ef9c564559417a9b96129850a45470" > SatParameters.SearchBranching.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000023" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1SearchBranching.html#a23d874bca2736f2cfdf8d3d39cecfb4a" > forNumber(int)< / a > instead. < / dd >
2019-08-07 18:01:08 -07:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1VariableOrder.html#a6294962e1aa08847c35794f1d8fccc05" > SatParameters.VariableOrder.valueOf< / a > (int value)< / dt >
2021-01-26 11:28:50 +01:00
< dd > < a class = "anchor" id = "_deprecated000014" > < / a > Use < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1VariableOrder.html#aca2908d02cf385d12f80c0565d6bac66" > forNumber(int)< / a > instead. < / dd >
2019-06-13 02:45:44 +02:00
< / dl >
2021-09-20 15:57:27 +02:00
< / div > < / div > <!-- PageDoc -->
< / div > <!-- contents -->
2020-09-01 16:00:33 +02:00
< / div > <!-- doc - content -->
2019-08-07 18:01:08 -07:00
< / div >
2019-06-13 13:08:49 +02:00
< / div >
< div id = "footer-container" >
< div id = "footer" >
< / div >
< / div >
< / body >
2019-06-13 02:45:44 +02:00
< / html >