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-12-14 13:41:01 +01:00
< span id = "sfml" > Google OR-Tools 9.2< / 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 >
2022-01-17 21:42:14 +01:00
<!-- Generated by Doxygen 1.9.3 -->
2020-09-01 16:00:33 +02:00
< script type = "text/javascript" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
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" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
2020-09-01 16:00:33 +02:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-01-17 21:42:14 +01:00
/* @license-end */
< / script >
2020-09-01 16:00:33 +02:00
< 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" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(document).ready(function(){initNavTree('deprecated.html',''); initResizable(); });
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 >
2022-01-17 21:42:14 +01:00
< div > < div class = "header" >
< div class = "headertitle" > < div class = "title" > Deprecated List < / div > < / div >
2019-06-13 02:45:44 +02:00
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < dl class = "reflist" >
2022-01-17 21:42:14 +01:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1ConstraintProto_1_1ConstraintCase.html#a7a9f39a6f5981a8af6dc86a9963f947a" > ConstraintProto.ConstraintCase.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000010" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1ConstraintProto_1_1ConstraintCase.html#a67e7ba4dd1f5b223e78b8d68b66fc292" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1ConstraintSolverParameters_1_1TrailCompression.html#a08c2715d8b99c62a61177832860bdf3d" > ConstraintSolverParameters.TrailCompression.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000001" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1ConstraintSolverParameters_1_1TrailCompression.html#a98edca386ee2f60160e2f64ba4cdfeb2" > forNumber(int)< / a > < / code > 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 >
2022-01-17 21:42:14 +01:00
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1CpSolverStatus.html#a91e8ff988785b9a70618e2493ec9c773" > CpSolverStatus.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000011" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1CpSolverStatus.html#a21107066192790fd155be95fcb475a98" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1DecisionStrategyProto_1_1DomainReductionStrategy.html#a6a67e9d62c06c3094480bb22e888080e" > DecisionStrategyProto.DomainReductionStrategy.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000013" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1DecisionStrategyProto_1_1DomainReductionStrategy.html#a62c03d42b3c59e5c3fae923f10e036ae" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1DecisionStrategyProto_1_1VariableSelectionStrategy.html#a0bcb71a2b3c29d84ca27b151df2ab1a6" > DecisionStrategyProto.VariableSelectionStrategy.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000012" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1DecisionStrategyProto_1_1VariableSelectionStrategy.html#ab1c2cda35b9d69307f3101043bd870b8" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1FirstSolutionStrategy_1_1Value.html#afc8fabd30c352657dd87c3a6133c1521" > FirstSolutionStrategy.Value.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000002" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1FirstSolutionStrategy_1_1Value.html#ae071ce79c0d08f7b511ef6670d024e23" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1LocalSearchMetaheuristic_1_1Value.html#afc8fabd30c352657dd87c3a6133c1521" > LocalSearchMetaheuristic.Value.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000003" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1LocalSearchMetaheuristic_1_1Value.html#ae071ce79c0d08f7b511ef6670d024e23" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPGeneralConstraintProto_1_1GeneralConstraintCase.html#a16ff2b4a7ed863a087f626363f9dfe41" > MPGeneralConstraintProto.GeneralConstraintCase.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000005" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPGeneralConstraintProto_1_1GeneralConstraintCase.html#a296c483e1ac7c70238d4ef4e1e726421" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelRequest_1_1SolverType.html#a9c1c91bb5150cdefa897a9ebfbb43447" > MPModelRequest.SolverType.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000006" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelRequest_1_1SolverType.html#a0a736a82902f1ddd34412959ff8236be" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverCommonParameters_1_1LPAlgorithmValues.html#af8606609c214d9a95a408cab129ce39d" > MPSolverCommonParameters.LPAlgorithmValues.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000007" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverCommonParameters_1_1LPAlgorithmValues.html#a31eb93c88064f966ffada2539a8efd26" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverResponseStatus.html#a51a37ab850a20ed83a70add4329a9dbb" > MPSolverResponseStatus.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000008" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverResponseStatus.html#a66410cd54e03ea4612c4319586b3ac0b" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSosConstraint_1_1Type.html#ac7ba6634145935daa11b4a0d9b29f3a9" > MPSosConstraint.Type.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000009" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSosConstraint_1_1Type.html#ad942aef7eed48f9b7955863483acdee3" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1util_1_1OptionalBoolean.html#aeebe274c73c854c889213222632573a2" > OptionalBoolean.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000025" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1util_1_1OptionalBoolean.html#aa805697c0eaeb4f37a95e243262e449f" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1RoutingSearchParameters_1_1SchedulingSolver.html#afe6c9b2a61f83602491dc66c8e3dfb27" > RoutingSearchParameters.SchedulingSolver.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000004" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1constraintsolver_1_1RoutingSearchParameters_1_1SchedulingSolver.html#a27669c781f8ac88398c6b7a34f4c4301" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1BinaryMinizationAlgorithm.html#ac2b06f38d113a38fbbe978dc0dea28c2" > SatParameters.BinaryMinizationAlgorithm.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000017" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1BinaryMinizationAlgorithm.html#a47309304e02021bc03bcac1322be84bb" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ClauseOrdering.html#a78a19fd818793df6bf97d656ccf114ea" > SatParameters.ClauseOrdering.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000019" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ClauseOrdering.html#ae255de63109a7d1b9cddd8b6009399f7" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ClauseProtection.html#a399410b7d8c49350660a5a99ee1c250a" > SatParameters.ClauseProtection.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000018" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ClauseProtection.html#af2eb0b0753f1f65c4b65b8198fb36d54" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ConflictMinimizationAlgorithm.html#a820992e3e72080208d70583c01378915" > SatParameters.ConflictMinimizationAlgorithm.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000016" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1ConflictMinimizationAlgorithm.html#a720de651a6a79a3ee4af9e17b0d3575f" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1FPRoundingMethod.html#a2f5963a5334ae4f910469dbed63fd64e" > SatParameters.FPRoundingMethod.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000024" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1FPRoundingMethod.html#a06f8fd6dee43cc1d6121abe037533b6a" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1MaxSatAssumptionOrder.html#aa641548156ed5074cac4a1e665d1842d" > SatParameters.MaxSatAssumptionOrder.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000021" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1MaxSatAssumptionOrder.html#a11cc74af90b4c202ba412ca79b67563c" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1MaxSatStratificationAlgorithm.html#a335d357ec1b6e65d6459e58a5c82cd89" > SatParameters.MaxSatStratificationAlgorithm.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000022" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1MaxSatStratificationAlgorithm.html#a11a20e9ce08076da81eb1b4ea15c95db" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1Polarity.html#ac25e68e362326ce49af14d6999844dba" > SatParameters.Polarity.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000015" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1Polarity.html#ae2f9f5fc584b737ae4c16dcddd0f2f6f" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1RestartAlgorithm.html#a650cfe8e8bd21717c99713e5f83759d8" > SatParameters.RestartAlgorithm.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000020" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1RestartAlgorithm.html#a97bc4fefd1ece7ca9607083a807f88eb" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1SearchBranching.html#accb440e4226963bc884690cfa83c9426" > SatParameters.SearchBranching.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000023" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1SearchBranching.html#a23d874bca2736f2cfdf8d3d39cecfb4a" > forNumber(int)< / a > < / code > instead. < / dd >
< dt > Member < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1VariableOrder.html#a40ead10c12e5b7eaeb6478b42a0c26b6" > SatParameters.VariableOrder.valueOf< / a > (int value)< / dt >
< dd > < a class = "anchor" id = "_deprecated000014" > < / a > Use < code > < a class = "el" href = "enumcom_1_1google_1_1ortools_1_1sat_1_1SatParameters_1_1VariableOrder.html#aca2908d02cf385d12f80c0565d6bac66" > forNumber(int)< / a > < / code > instead. < / dd >
2019-06-13 02:45:44 +02:00
< / dl >
2022-01-17 21:42:14 +01:00
< / div > < / div > <!-- contents -->
< / div > <!-- PageDoc -->
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 >