Container ship stowage problem complexity and connection to the coloring of circle graphs

合集下载

海关英语单词汇总

海关英语单词汇总

海关英语单词汇总海运费ocean freight集卡运费、短驳费Drayage订舱费booking charge报关费customs clearance fee操作劳务费labour fee or handling charge商检换单费exchange fee for CIP换单费D/O fee拆箱费De-vanning charge港杂费port sur-charge电放费B/L surrender fee冲关费emergent declearation change海关查验费customs inspection fee待时费waiting charge仓储费storage fee改单费amendment charge拼箱服务费LCL service charge动、植检疫费animal & plant quarantine fee移动式其重机费mobile crane charge进出库费warehouse in/out charge提箱费container stuffing charge滞期费demurrage charge滞箱费container detention charge卡车运费cartage fee商检费commodity inspection fee转运费transportation charge污箱费container dirtyness change坏箱费用container damage charge清洁箱费container clearance charge分拨费dispatch charge车上交货FOT ( free on track )电汇手续费T/T fee转境费/过境费I/E bonded charge空运方面的专用术语空运费air freight机场费air terminal charge空运提单费airway bill feeFSC (燃油附加费) fuel surchargeSCC(安全附加费)security sur-charge抽单费D/O fee上海港常用术语内装箱费container loading charge(including inland drayage) 疏港费port congestion charge他港常用术语场站费CFS charge文件费document chargeBAF BUNKER AJUSTMENT FACTOR 燃油附加费系数BAF 燃油附加费,大多数航线都有,但标准不一。

11规则后真题航海英语 7

11规则后真题航海英语 7

11规则后真题91.a vessel may enter a traffic separation zone ___ ①in an emergency ②to engage in fishing within the zone ③ to cross the traffic separation schemeA. ①B. ②C. ③D. ①②③2. you are in charge of a stand-on vessel in a crossing situation. The other vessel is 1.5 miles to port. You believe that risk of collision exists. You should___A. take avoiding action immediately upon determining that risk of collision exists.B. immediately sound the danger signalC. take avoiding action only after providing the give-way vessel time to take action, and determining that her action is not appropriate.D. hold course and speed until the point of extremis, and they sound the danger signal, taking whatever action will best avert collision.3. what is the direction of rotation of tropical cyclones, tropical storms and hurricanes in the Northern Hemisphere?A. clockwise and outwardB. counterclockwise and inwardC. counterclockwise and outwardD. clockwise and inward4. When a vessel is stationary and in a hogging condition, the main deck is under_______A. compression stressB. tension stressC. shear stressD. racking stress5. Chart legends which indicate a conspicuous landmark are printed in _____A. capitalB.italicsC.boldface printD.underlined letters6. in summer, monsoon over the south China Sea blows from____A.northeastB.southwestC.southwestD.northwest7. maintenance of charts and publications up to date is a statutory requirement under the ___Convention.A. STCWB.MARPOLC. SOLASD. ISM8. the machinery associated with heaving in and running out anchor chain is the __A. winchB. windlassC. draw worksD. dynamic pay out system9. the diurnal pressure variation is most noticeable in the ___A. polar regionsB. horse latitudeC. roaring fortiesD. doldrums10. you see another vessel approaching, and its compass bearing does not significantly change. This would indicate that ___A. you are the stand- on vesselB. risk of collision existsC. a special circumstances situation existsD. the other vessel is dead in the water11. Where shall the key to CO2 room be kept?A. in master’s cabinB. in third officer’s cabinC. in a break-glass type enclosure conspicuously located adjacent to the roomD. in a locked locker conspicuously located adjacent to the room12. At security level 1, which one of the following activities shall not be carried out, through appropriate measure, on all ships?A. controlling access to the shipB. controlling the embarkation of persons and their effectsC. monitoring restricted areasD. monitoring mess room13. you are on watch and the pilot has just anchored the vessel. The next thing that you should do after the anchor has been let go is to ___A. stop the engineB. escort the pilot to the accommodation ladderC. plot the ve ssel’s position on the char tD. make a round of the weather decks14. advection fog is most commonly caused by __A. air being warmed above the dew pointB. saturation of cold air by rainC. a rapid cooling of the air near the surface of the Earth at nightD. warm moist air being blown over a colder surface15. a Doppler log in the volume reverberation mode indicates____A. speed being made goodB. speed through the waterC. the set of the currentD. the depth of the water16. high pressure ridge___ from Sevastopol to eastern Libya.A. reachingB. extendingC. increasingD. upgrading17. The overall set in Malacca strait is to the NW, but from May to September there is a tendency for SE sets to prevail in some N and central parts. In this sentence, “set” ref ers to ___A. The direction of trafficB.The direction of currentC.The direction of monsoonD.The direction of wind18. which statement is TRUE when comparing cold and warm fronts?A. cold fronts are more violent and of shorter durationB. cold fronts are milder and last longerC. they are very similar with the exception of wind directionD. warm front are more violent and of longer duration19. BASHI: E TO SE 9-10. 500M IN HVY SQUALL Y SHWRS AND TS. SEA 8-9M. SWELL SE 6-7M. From the above forecast, the wind in Beaufort Scale will be ___A. STRONG GALE TO STORMB. GALE TO STRONG GALEC. NEAR GALE TO GALED. STRONG BREEZE TO NEAR GALE20. A vessel with a small GM will ____A. have a large amplitude of rollB. provide a comfortable ride for the crew and passengersC. have drier decks in heavy weatherD. be likely to have cargo shift in heavy weather21. which of following physical abilities is not required as to the routine movement around a vessel?A. maintain balance and move with abilityB. climb p and down vertical ladders and stairwaysC. open and close watertight doorsD. take part in vessel evacuation procedures22. which of the following is usually NOT required in preparing a hold for reception of a bulk grain cargo?A. to remove residue of previous cargo\B. to remove loose rust and scaleC. to steam clean areas obstructed by structural membersD. to spray or fumigate any insect colonies23. Point out which one of the following items is not in the charge of Chief Officer in repairing operation___A. hull cleaningB. derusting and paintingC. the maintenance of boilingD. docking and undocking24. deep-draught vessels and VLCCs shall allow for ____of at least 3.5m at all times during the entire passage through the Strait of Malacca and Singapore.A. a draftB. a freeboardC.an air draftD.an under-keel clearance25. The Safety of Life at Sea Convention was developed by the ____A.IMDG conferenceB.American Bureau of ShippingC.International Maritime OrganizationD.American Institute of Maritime Shipping关联题Having planned the passage taking into account the normal conditions, consideration should be given to the actual conditions which it is expected will be encountered.With the aid of the latest weather forecast, weather maps and ice charts, a system of weather routeing enable the original route to be modified to make best use of the actual weather pattern and the alternations expected take place within it. This will produce the greatest economy in fuel expenditure and reduce the risk of heavy weather damage to the ship and her cargo.Weather routeing services are provided by certain foreign governments and private firms; details of which can be obtained from Admiralty List of Radio Signal volume 3.These services apply latest weather reports and long range forecasts to determine the best route for a particular vessel. On passage, modifications to the route are passed to the vessel to enable the early action to avoid developing areas of adverse conditions.The World Meteorological Organization (WHO) has established a global service for the transmission of high seas weather warnings and route weather bulletins.(1) Which of following is not true?A. some foreign governments can provide to you weather routeing servicesB. some private firms also can provide to you weather routeing servicesC. on passage, the route determined by weather routeing will not be changedD. on passage, the route determined by weather routeing may be changed(2) Weather Routeing Services detail information can be obtained from___A. Sailing DirectionB. Notice to MarinersC. List of lights and Fogs SignalsD. List of Radio Signals(3) why do you make use of weather routeing when planning passage?A. saving timeB. saving distanceC. reduce the risk of heavy weather damage to the ship and cargoD. easy and convenience(4) when planning passage, ___ should not be taken into account.A. the latest weather forecastsB. actual weather conditions which may be exceptedC. a system of weather routeingD. the weather for port of destination26. What does ECDIS stand for?A. Electronic chart display and indication systemB.Electronic chart display and information systemC.Electronic chart display and informing systemD.Electronic chart display and indicating system关联题A vessel not under command shall exhibit:(1) two all-round lights in a vertical line where they can best seen(2) two balls or similar shapes in a vertical line where they can best seen(3) when making way through the water, in addition to the lights prescribed in this paragraph, sidelights and s stern lightA vessel restricted in her ability to maneuver, except a vessel engaged in mine clearance operations, shall exhibit:(i) three all-round lights in a vertical line where they can best seen. The highest and lowest of these lights shall be red and the middle light shall be white(ii) three shapes in a vertical line where they can best be seen. The highest and lowest of these shapes be balls and the middle one a diamond(iii) when making way through the water, a masthead light or lights, side light and a stern light, in addition to the lights prescribed in sub-paragraph(i)(iv) when at anchor, in addition to the lights or shapes prescribed in sub-paragraph(i) and (ii), the light, lights or shape prescribed in Rule 30.(1)A vessel restricted in her ability to manoevre, when at anchor, shall exhibit____ all-round lightsA. twoB. threeC. fourD. five(2) In the passage, the all- round light refers to ___A. a light showing an unbroken light over an arc of the horizon of 360 degreesB. a light showing an unbroken light over an arc of horizon of 135 degreesC. a light flashing at regular intervals at a frequency of 120 flashes per minutesD. a white light placed over the fore and aft center line of the vessel showing an unbroken light over an arc of horizon of 225 degrees(3) a vessel not under command, when making way through the water, shall exhibit___A. two all-round lightsB. two all-round lights and two ballsC. side lights and a stern lightD. two all-round lights, side lights and a stern light(4) a vessel restricted in her ability to maneuver, shall display____A.two ballsB. a diamondC. two balls and a diamondD. two balls and a diamond, a vertical line27. ____ on board ship need not be reported and analyzed according to the ISM Code.A. Non-conformitiesB. AccidentsC. Hazardous occurrences D Daily life of crew28. what occurs when rising air cools to the dew points?A. advection fog formsB. humidity decreasesC. winds increaseD. clouds form29. masters are required to notify Port Authorities of anchorage bearings after___A. departureB. leavingC. anchoredD. anchoring30. why is the ISM Code mandatory?A. to satisfy US CoastguardB. to improve safetyC. to save money for the companyD. to get lover insurance premiums31. ____ is nor ordinarily applied to passenger or to combination passenger and freight ships.A.Displacement tonnageB.Deadweight tonnageC.Registered tonnageD.Gross tonnage32. Section III of Admiralty Notice to Mariners weekly edition is ____A. Reprints of Radio Navigational WarningsB. Amendments to Admiralty Sailing DirectionsC. Amendments to Admiralty Lists of Lights and Fog SignalsD. Amendments to Admiralty List Of Radio Signals33. after transferring a weight forward on a vessel, the draft at the center of flotation will___A. change, depending on the location of the LCGB. increaseC. decreasesD. remain constant34. many of the lights on this coast are placed so high as to be frequently obscured by ___A.powerB.towerC.coverD.shower35. The VDR system is designed to operate ____once it is set up correctly, there is no user interaction.A.AutomaticallyB.AccuratelyC.PromptlyD.Conspicuously36. during the required periodic abandon shp drill aboard ship, each person not assigned duties in the muster list is ____A. instructed in the use of portable fire extinguishersB. shown a video demonstrating lifeboat launchingC. instructed in the use of life jacketsD. not required to attend the boat drill37. The approach to the roads and harbor from the ___ entails no difficulty.A.easternB.easterlyC.eastwardD.eastwards38. The angular difference between the true meridian (great circle connecting the geographic poles) and the magnetic meridian (direction of the lines of magnetic flux) is called_____A.DeviationB.VariationC.ErrorD.Difference39. In ILO Convention, the normal working hours’ standard for seafarers shall be based on ___A. an eight-hour day with one day of rest per week and rest on public holidayB. an seven-hour day with one day of rest per week and rest on public holidayC. an six-hour day with one day of rest per weekD. an six-hour day with rest on public holiday40. SSAS can generate security alerts to ___A. any flag administrationB. present flag administrationC. nearby coast statesD. nearby contract parties41. Fixed piping leads from the _____ to various areas of the compartment to be floodedA. manifoldB. remote pull boxC. discharge nozzleD. machinery space42. how is variation indicated on a small-scale nautical chart?A. magnetic compass tableB. magnetic meridiansC. isogonic linesD. variation is not indicated on small-scale nautical charts43. Depths in the routes (Malacca and Singapore Straits) vary between 20m and about 23m but there are many areas of sand waves and depths are liable to change. The statement infers that______A.depths in Malacca and Singapore Strait are stableB.depths in Malacca and Singapore Strait are changeableC.depths in Malacca and Singapore Strait are invariableD.depths in Malacca and Singapore Strait are the same all the time44. When underway in a channel, you should keep to the ___A. middle of the channelB. starboard side of the channelC. port side of the channelD. side of the channel that has the widest turns45. ____is a point midway between the forward and the after perpendicularA. length overallB. after perpendicularC. amidshipsD. extreme breadth46. navigate with___. Small fishing boats are within 0.8 mile of me.A. precautionB. skillC. concernD. caution47. the mean draft of a ship is the draft___A. midway between the forward and aft draft marksB. at the center of flotationC. at the load lineD. at the center of buoyancy48. A vessel is equipped with a single –handed screw. With rudder amidships and calm wind, the vessel will most likely back____A.Straight asternB.To potC.To starboardD.In no particular direction49. Any action to avoid collision shall, If the circumstances of the case admit, ____made in ample time and with due regard to the observance of good seamanship.A.Be initiativeB.Be positiveC.At negativeD.Be positively50. The 10-cm radar as compared to a 3-cm radar of similar specifications will ____A. be more suitable for river and harbor navigationB. provide better range performance on low lying targets during good weather and calm seasC. have a wider horizontal beam widthD. have more sea return during rough sea condition51. ____provides a selection of commonly used routes with their distance between principal ports and important positions.A.The Mar iner’s HandbookB.Admiralty Sailing DirectionC.Ocean Passage for the WorldD.Mariners’ Routing Guide52. ECDIS must be able to perform all of the following EXCEPT___A. determine true bearing and distance between two geographic pointsB. determine magnetic compass deviationC. transform a local datum to the WGS-’84 datumD. convert “graphical coordinates” to “display coordinates”关联题Merchant ships are designed to carry cargo. Some are also designed to carry passengers. They can operate as liners. These are employed on regular routes on a fixed timetable. A list of their arrival and departure dates is published in advance and they sail whether full or not. Liners can be classed as either deep-sea liners or short-sea liners. The former carry mainly containerized cargo across the oceans of the world; the later carry containerized or conventional cargo on shorter routes. Ferries are also classed as liners. These offer a daily or weekly service for passengers and vehicles across channels and narrow seas. A few ships are still employed as passenger liners. They not only carry passengers but also some cargo on routes from Europe to North America and to the Far East. Nowadays the passenger trade is very small and passenger liners usually operate as cruise ships for part of the year.(1). It is implied in the passage that ________.A. the number of passenger ships is smallB. all passenger ships will carry some cargo in near futureC. it is not necessary for liners to sail in regular timeD. container carriers should carry some passengers(2). .The Liners ________.A. always sail fullB. sail regularly even not fullC. always sail in ballastD. will not sail if not full(3) .A list of the arrival and departure dates of liners ________.A. will be published weeklyB. will be published when they sail,whether full or not,from Europe to North America and to the Far EastC. will not be published even they sail fully loadedD. is published prior to their departure(4). The deep-sea liners ________.A. carry mainly containerized cargoB. carry mainly conventional cargoC. offer a daily or weekly service for passengers and vehiclesD. sail across channels and narrow seas.53. that half of the hurricane to the right hand side of its track (as you face the same direction that the storm is moving) in the Northern Hemisphere is called the ___A. windward sideB. leeward sideC. safe semicircleD. dangerous semicircle54. ___should develop, implement and maintain a safety management system which includes procedures for internal audits and management reviews.A. Every CompanyB. every vesselC. every countryD. MSA55. ____directly affect the fitness and ability of a seafarer to perform watch keeping duties.A. smokingB. drug and alcohol abuseC. fruitD. vegetables56. when two power-driven vessels are meeting on reciprocal or nearly reciprocal courses so as to involve risk of collision, they shall be deemed to be in ___A. head-on situationB. crossing situationC. overtaking situationD. close quarter situation57. you are underway in thick fog, you have not determined if risk of collision exists. Which statement is true?A. your speed must be reduced to bare steerage waysB. a look out is not required if the radar is on.C. the radar should always be kept on a short range scaleD. fog signals are only required when a vessels is detected by radar.58. On a Mercator chart, 1 nautical mile is equal to ___A.I minute of longitudeB.1 degree of longitudeC.1 minute of latitudeD.1 degree of latitude59. a vessel to which Annex V to MARPOL applies is 12 nautical miles from the nearest land. Which type of garbage is allowed from being discharged?A. glassB. crockeryC. metalD. food wastes60. berthing means bringing a vessel to her berth until___A. the ship is made fastB. the ship’s first line is sent ashoreC. the ship is dredging anchorD. the ship’s pilot disembarks61. According to the relevant regulation, lifeboat should be powered by____________.A.inboard diesel engineB.outboard diesel engineC.outboard gasoline engineD.Inboard gasoline engine62. There shall be ____ into sleeping rooms from cargo and machinery spaces or from galleys, storerooms, drying rooms or communal sanitary areas.A.No direct openingB.Direct openingC.No more than one direct openingD.Up to direct opening63. A petroleum liquid has a flashpoint of 85℃.This liquid is in IMDG Code classed as a(n) ______.A.flammable liquidB.nonflammable liquidC.inflammable liquidD.incombustible liquid64. in a twin screw ship going half-ahead, both screws turning outboard and the rudder amidships, no current or wind, the vessel will___A. move bodily to portB. move bodily to starboardC. move in a zig-zag motionD. steer a fairly straight course65. in which month will the equatorial counter current be strongest?A. JanuaryB. aprilC. augustD. October66. ___ is the act of allocating space to containers on board of a container ship in the order of the discharge portsA. container loadingB. container dischargingC. stowage planningD. container checking67. navigational charts are ____frequent changes, the important ones of which are promulgated by Admiralty Notices to Mariners.A. published withB. combined withC. relative toD. subject to68. The expression STAND-BY ENGINE means ______.A. to get the engine readyB. to respond to the engineC. to maneuver the engineD. to change the engine69. Most Navigation System equipment is _________from the bridge, a unique location that allows for a centralized, safe and efficient management of ship navigation.A.accessibleB.restrictedC.deterredD.far away70. While underway, a vessel over 100,000 gross tons with an automatic identification system (AIS) is expected to broadcast all of the following information every 1 to 10 seconds EXCEPT___A.rate of turn of vesselC.navigational statusD.ship’s heading71. Monsoons are characterized by __c____.A.light,variable winds with little or no humidityB.strong,gusty winds that blow from the same general direction all yearC.steady winds that reverse direction semiannuallyD.strong,cyclonic winds that change direction to conform to the passage of an extreme low pressure system72. when steering by autopilot, how often should manual steering be checked?A. every dayB. when time allowsC. at least once a watchD. no checking is necessary73. the force resulting from the earth’s rotation that causes winds to deflect to the right in t he Northern Hemisphere and to the left in the Southern Hemisphere is called _____A. pressure gradientB. coriolis effectC. aurora borealisD. ballistic deflection关联题Container stowage follows a basic pattern. Except in the case of refrigerated containers, the doors of containers stowed on deck should face aft. This protects the doors from direct exposure to the weather and the sea. While the direction of the door may be immaterial below deck, it is best tofollow a set pattern to prevent possible mistakes when on deck loading commence. Reefer containers usually must be stowed with the reefer unit facing aft and the doors forward, since the electrical power unit on the reefer container is highly susceptible to water damage and short circuiting. The electrical outlets on the vessel are usually located aft of the hatches to permit easy access for plugging in the containers.(1)the reefer containers usually stowed with reefer unit aft____A. in order to protect the doors from direct exposure to the weather and the seaB. since the electrical outlets are usually located forward of the hatchesC. because the electrical power unit is easy to water damage and short circuitingD. to permit easy access for inspecting the containers(2) the reefer container usually should be stowed with the door facing___A. forwardB. aftC. port sideD. starboard side(3) the direction of the container door inside the hold___A. should face aftB. should face forwardC. has no particular requirementD. should follow the set pattern of on deck stowage(4) the doors of containers stowed on deck normally should face___A. forwardB. aftC. port sideD. starboard side74. bales close to the deck head should be covered to prevent___A. damage by dripping sweatB. damage by odor contaminationC. from striking structureD. from steel rusty。

BS EN 12845-2004+A2-2009 固定式消防系统.自动喷水系统设计,安装和维修

BS EN 12845-2004+A2-2009 固定式消防系统.自动喷水系统设计,安装和维修
批注本地保存成功开通会员云端永久保存去开通
BRITISH STANDARD
BS EN 12845:2004 +A2:2009
Incorporating Corrigendum August 2009
Fixed firefighting systems — Automatic sprinkler systems — Design, installation and maintenance
1 2 3 4 4.1 4.2 4.3 4.4 4.4.1 4.4.2 4.4.3 4.4.4 5 5.1 5.1.1 5.1.2 5.2 5.3 5.4 5.5 6 6.1 6.2 6.2.1 6.2.2 6.2.3 6.3 6.3.1 6.3.2 7 7.1 7.2 7.2.1 7.2.2 7.2.3 7.3 7.3.1 7.3.2
介绍 Introduction ................................................................................................................................................. 10
This British Standard was published under the authority of the Standards Policy and Strategy Committee on 16 November 2004
Amendments/corrigenda issued since publication Date 31 July 2009 Comments Implementation of CEN amendment A2:2009 Correction to National foreword

物流专业英语词汇

物流专业英语词汇

Aabc classificiation abc分类法.A Circular Letter 通告信/通知书Accomplish a Bill of Lading (to) 付单提货acquisition cost ordering cost 定货费Act of God 天灾activity cost pool 作业成本集activity-based costing 作业基准成本法Actual Displacement 实际排水量Ad valorem freight 从价运费Addendum (to a charter party) ( 租船合同)附件Additional for Alteration of Destination 变更卸货港附加费Additional for Optional Destination 选卸港附加费Address commission (Addcomm) 回扣佣金Adjustment 海损理算Advanced B/L 预借提单advanced shipping notice (asn) 预先发货通知A fixed day sailing 定日航班A fortnight sailing 双周班A Friday(Tuesday / Thursday)sailing 周五班agile manufacturing 敏捷制造Air Express 航空快递airline operator/freight forwarder 不营运船舶的多式联运经营人Air Waybill 航空运单Alliance 联盟All in rate 总运费率All purposes (A.P) 全部装卸时间All time saved (a.t.s) 节省的全部时间allocation―――中转?Always afloat 始终保持浮泊American Bureau of Shipping (A.B.S.) 美国船级社A monthly sailing 每月班AMT (Advanced Manufacturing Technology) 先进制造技术Anchorage 锚地Anchorage dues 锚泊费Annual survey 年度检验anticipation inventory 预期储备Anti-dated B/L 倒签提单APICS (American Production and Inventory Control Society,Inc.) 美国生产与库存管理系统Applied Manufacturing Education Series 实用制造管理系列培训教材Apron 码头前沿Arbitration award 仲裁裁决Arbitrator 仲裁员Area differential 地区差价Arrest a ship 扣押船舶AS/RS (automated storage/retrieval system) 自动化仓储系统assemble-to-order 定货组装assembly 组配Article reserves物品储备ATP (available to promise) 可供销售量automatic replenishment (ar) 自动补货系统automatic warehouse 自动化仓库Automatic guided vehicle (AGV)自动导引车automated high-rise warehouse 自动立体仓库Average adjuster 海损理算师Average bond 海损分摊担保书Average guarantee 海损担保书A weekly sailing 周班axle housing桥壳Axle load 轴负荷Bbackflushing 反冲法Backfreight 回程运费back-hauls―――回程空载Back (return) load 回程货backlog 拖欠定单back order 脱期定单, 延期交货成本(back order costs)。

解决容器技术中应用程序运行异常的常见问题

解决容器技术中应用程序运行异常的常见问题

解决容器技术中应用程序运行异常的常见问题随着容器技术的不断普及和应用,越来越多的企业开始将应用程序部署在容器中,以获得更高的灵活性和可移植性。

然而,与传统的虚拟化方式相比,容器技术在应用程序运行过程中也会面临一些常见问题。

本文将就解决容器技术中应用程序运行异常的常见问题展开讨论。

一、资源限制与调优虽然容器提供一种轻型虚拟化的方式,但是它仍然需要进行资源限制与调优才能发挥最佳性能。

其中,内存的使用是一个常见的问题。

当应用程序运行时,如果内存使用超过了容器分配的限制,容器就会因为内存耗尽而终止。

因此,我们需要通过监控工具来监测内存的使用情况,并通过调整容器的内存限制来解决内存溢出的问题。

另外,CPU的使用也是需要考虑的因素。

当容器内运行多个应用程序时,它们之间会竞争CPU资源,可能导致某些应用程序运行缓慢或出现异常。

解决这个问题的方式可以是通过调整应用程序的优先级,或者为每个应用程序分配独立的CPU核心。

二、网络问题与调试在容器技术中,多个容器之间可能需要进行网络通信。

然而,由于容器的隔离性,有时候容器之间可能无法建立有效的网络连接,导致网络通信异常。

解决这个问题的方式可以是检查容器的网络配置,确保容器之间可以相互访问。

另外,也可以通过网络诊断工具来检测网络问题,并根据结果进行相应的调整。

此外,容器中的应用程序也可能面临与外部网络通信的问题。

比如,有些应用程序需要连接外部数据库或者调用外部API。

当这些连接失败时,应用程序可能会出现异常。

解决这个问题的方式可以是确认网络连接的有效性,检查防火墙设置或者网络配置,以保证应用程序可以正常与外部进行通信。

三、持久化存储与数据管理容器技术的一个特点就是容器的文件系统是临时性的,容器终止后,文件系统内的数据也会消失。

这对于一些需要持久化存储的应用程序来说可能是一个问题。

解决这个问题的方式可以是使用持久化存储卷来存储数据,或者使用数据库等外部存储来保存重要的数据。

装箱问题与背包问题

装箱问题与背包问题

例:“超市大赢家”提供了50种商品作为奖品供中奖顾客选择,车的容量为1000dm3 , 奖品i占用的空间为widm3 ,价值为vi 元, 具体的数据如下: vi = { 220, 208, 198, 192, 180, 180, 165, 162, 160, 158,155, 130, 125, 122, 120, 118, 115, 110, 105, 101, 100, 100, 98,96, 95, 90, 88, 82, 80, 77, 75, 73, 72, 70, 69, 66, 65, 63, 60, 58,56, 50, 30, 20, 15, 10, 8, 5, 3, 1} wi = {80, 82, 85, 70, 72, 70, 66, 50, 55, 25, 50, 55, 40, 48,50, 32, 22, 60, 30, 32, 40, 38, 35, 32, 25, 28, 30, 22, 50, 30, 45,30, 60, 50, 20, 65, 20, 25, 30, 10, 20, 25, 15, 10, 10, 10, 4, 4, 2,1}。
见lingo程序
例1 已知30个物品,其中6个长0.51m,6个长0.27m,6个长0.26m,余下12个长0.23m,箱子长为1m,问最少需多少个箱子才能把30个物品全部装进箱子。
装箱问题的LINGO软件求解
NF(Next Fit-下次适应)算法:按照物体给定的顺序装箱:把物品wi放到它第一个能放进去的箱子中。Bj是具有最大下标的使用过的箱子,若wi的长度不大于Bj的剩余长度,则把wi放入Bj,否则把wi放入一个新的箱子Bj+1,且Bj在以后的装箱中不再使用。
算法流程
(1)输入物品个数n, 背包的容量limitW, 每个物品的重量wj 和价值cj。 (2)对物品按单位价值从大到小排序。

容器化技术中常见问题解决方法大全(七)

容器化技术中常见问题解决方法大全(七)

容器化技术是近年来快速发展的一种应用部署方式,它将应用程序及其依赖项打包在一个虚拟化的容器中,使得应用程序运行环境与目标环境隔离。

容器化技术能够提高开发和部署的效率,但在实际应用中常常会遇到一些问题。

本文将介绍一些容器化技术中常见的问题,并给出相应的解决方法。

一、容器镜像构建问题及解决方法在容器化技术中,容器镜像是应用程序及其依赖项的打包形式,因此容器镜像的构建是非常重要的环节。

常见的容器镜像构建问题包括构建速度慢、镜像体积过大、镜像构建失败等。

针对这些问题,可以采取以下解决方法:1. 利用多阶段构建:多阶段构建可以将镜像构建过程分为多个阶段,每个阶段只包含必要的依赖项,从而减小镜像体积,提高构建速度。

2. 使用镜像缓存:在构建过程中,可以利用镜像缓存来加速构建速度,避免重复下载依赖项。

3. 压缩镜像大小:可以通过使用轻量级的基础镜像、删除不必要的文件、使用多阶段构建等方式来减小镜像体积。

4. 使用镜像构建工具:一些镜像构建工具如Docker Buildx、Buildah等,可以帮助用户更高效地构建镜像。

二、容器编排问题及解决方法容器编排是指对多个容器进行管理和调度的过程,常见的容器编排问题包括容器之间的通信、负载均衡、服务发现等。

针对这些问题,可以采取以下解决方法:1. 使用容器编排工具:如Kubernetes、Docker Swarm等,这些工具提供了丰富的功能来管理和调度容器,能够解决容器之间的通信、负载均衡等问题。

2. 使用服务网格:服务网格可以提供服务发现、负载均衡、流量管理等功能,帮助用户更好地管理容器间的通信和调度。

3. 避免单点故障:在容器编排过程中,要注意避免单点故障,可以通过部署多个实例、使用健康检查等方式来保证服务的稳定性和可靠性。

三、存储和网络问题及解决方法在容器化技术中,存储和网络是非常重要的部分,常见的问题包括存储卷管理、网络通信、安全性等。

针对这些问题,可以采取以下解决方法:1. 使用持久化存储:可以使用存储卷、分布式文件系统等方式来管理容器中的数据,保证数据的持久性和可靠性。

船舶拥挤英语作文模板

船舶拥挤英语作文模板

船舶拥挤英语作文模板英文回答:Congestion in the shipping industry is a pressing issue that has far-reaching effects on global trade and economies. As a professional in the maritime sector, I have witnessed firsthand the challenges and consequences of vessel congestion, and I am deeply concerned about its potential long-term impacts.There are multiple factors contributing to vessel congestion. One major cause is the rapid growth in global trade and the subsequent surge in shipping volumes. As the demand for goods has skyrocketed, the number of ships traversing the oceans has increased exponentially. This has led to a strain on port infrastructure and capacity, resulting in longer waiting times for vessels to enter and leave ports.Another contributing factor is the uneven distributionof port capacity. While some ports have invested heavily in expansion and modernization, others have struggled to keep pace with the increasing demand. This disparity has created bottlenecks at major shipping hubs, leading to delays and inefficiencies in the movement of goods.Compounding the problem is the issue of port congestion itself. When vessels are forced to wait for extended periods outside ports, it disrupts the schedules of subsequent vessels and creates a ripple effect throughout the supply chain. This can lead to delayed deliveries, increased inventory costs, and ultimately higher prices for consumers.Furthermore, vessel congestion can have significant environmental repercussions. Idling ships outside ports spew out harmful pollutants into the atmosphere and water, contributing to air and water pollution. The extended waiting times also increase fuel consumption, amplifying the carbon footprint of the shipping industry.To address the issue of vessel congestion, amultifaceted approach is required. Governments, port authorities, and shipping companies need to work together to implement long-term solutions that improve port efficiency and capacity. This may include investing in infrastructure upgrades, implementing new technologies to optimize vessel traffic flow, and streamlining customs and border procedures.Collaboration is crucial in tackling vessel congestion. Partnerships between ports and shipping companies can help to improve coordination and reduce waiting times. Data sharing and the use of digital platforms can enhance communication and transparency throughout the supply chain, facilitating smoother and more efficient cargo movement.Moreover, promoting the use of larger vessels can help to reduce the overall number of ships required to transport the same volume of goods. This would decrease traffic density in ports and potentially alleviate congestion. Encouraging the adoption of sustainable shipping practices, such as slow steaming and alternative fuels, can also contribute to environmental sustainability while mitigatingthe impact of vessel congestion.By addressing the root causes of vessel congestion and implementing comprehensive solutions, we can improve the efficiency and resilience of the global shipping industry. This will not only benefit businesses and economies butalso contribute to a more sustainable and environmentally friendly maritime sector.中文回答:船舶拥挤是一个紧迫的问题,对全球贸易和经济产生了深远的影响。

远洋客船网络化服务平台系统组件兼容性分析

远洋客船网络化服务平台系统组件兼容性分析

远洋客船网络化服务平台系统组件兼容性分析于栋亮 薛亚宾(上海外高桥造船有限公司 上海 201200)摘要:在现代航运业的快速发展中,远洋客船网络化服务平台系统已经成为了客船管理、船舶调度和货物运输等方面的重要工具。

然而,由于不同的操作系统、浏览器和设备等因素,该系统的组件在不同的环境下可能会出现兼容性问题。

该文通过对邮轮网络化服务平台及设备组件进行介绍,对服务平台兼容性测试要点总结归纳,并对网络协议、视频监控系统编解码进行重点分析,针对兼容性重点问题提出相应解决方案。

关键词:邮轮 兼容性测试 网络化服务平台 网络协议中图分类号:U662.9文献标识码:A 文章编号:1672-3791(2023)17-0029-06 Analysis of the Component Compatibility of the NetworkedService Platform System of Ocean-Going Passenger VesselsYU Dongliang XUE Yabin(Shanghai Waigaoqiao Shipbuilding Co., Ltd., Shanghai, 201200 China)Abstract: During the rapid development of the modern shipping industry, the networked service platform system of ocean-going passenger ships has become an important tool for passenger ship management, ship scheduling and cargo transportation. However, due to factors such as different operating systems, browsers and devices, the compo‐nents of the system may have compatibility problems in different environments. This paper introduces the net‐worked service platform and equipment components of cruise liners, summarizes the key points of the compatibility testing of the service platform, focuses on the analysis of the network protocol and video surveillance system encod‐ing and decoding, and puts forward corresponding solutions to the key compatibility problems.Key Words: Cruise liner; Compatibility testing; Networked service platform; Network protocol近年来,伴随经济发展和社会进步,市场对客运船舶的需求越来越多;为紧跟远洋客船相关航运和商业发展趋势,国务院、交通运输部、文化和旅游部以及国家发改委等部门相继出台一系列产业政策来扶持国内远洋客船经济的发展。

容器化技术中常见问题解决方法大全

容器化技术中常见问题解决方法大全

容器化技术中常见问题解决方法大全随着云计算和微服务架构的兴起,容器化技术成为了现代软件开发和部署的主流方式。

然而,随之而来的是一系列常见问题,如容器编排、网络配置、存储管理等方面的挑战。

本文将针对容器化技术中常见问题,提供解决方法的大全,希望能够帮助读者更好地应对容器化技术的挑战。

1. 容器编排问题解决方法容器编排是容器化技术中的重要环节,负责对容器进行管理、调度和监控。

常见的容器编排工具包括Kubernetes、Docker Swarm、Mesos等。

在使用这些工具时,可能会遇到诸如资源分配、服务发现、负载均衡等问题。

针对这些问题,可以采取以下解决方法:- 使用Kubernetes的Pod资源调度功能,可以根据容器的资源需求和节点的资源情况,进行智能调度,确保每个容器都能得到合适的资源分配。

- 借助Docker Swarm的服务发现功能,可以让容器之间轻松地进行通信和协作,实现高效的微服务架构。

- Mesos提供了灵活的负载均衡策略,可以根据实际业务需求进行定制,保障系统的稳定性和可靠性。

2. 网络配置问题解决方法容器化技术中的网络配置也是一个重要的问题,特别是在多容器、多节点的情况下。

常见的网络配置问题包括跨主机通信、网络隔离、安全策略等。

针对这些问题,可以采取以下解决方法:- 使用Docker的Overlay网络,可以实现跨主机的容器通信,提高容器集群的扩展性和灵活性。

- 借助Kubernetes的网络策略,可以对容器进行细粒度的流量控制和访问限制,保障系统的安全性和稳定性。

- Mesos支持多种网络插件,可以根据实际需求选择合适的网络插件,满足不同场景下的网络配置需求。

3. 存储管理问题解决方法容器化技术中的存储管理也是一个常见问题,特别是在持久化数据存储和数据备份方面。

常见的存储管理问题包括数据共享、数据持久化、数据备份等。

针对这些问题,可以采取以下解决方法:- 使用Docker的Volume功能,可以实现容器间的数据共享和持久化存储,保障数据的一致性和可靠性。

容器技术中常见的挑战与解决方案

容器技术中常见的挑战与解决方案

容器技术中常见的挑战与解决方案容器技术是近年来快速发展并广泛应用的一项技术,它以其轻量、便携、可扩展的优势,成为云计算、微服务等领域的热门技术。

然而,随着容器技术的普及和广泛应用,一些常见的挑战也随之出现。

本文将探讨容器技术中常见的挑战,并提出相应的解决方案。

首先,资源利用率方面是容器技术面临的一个重要挑战。

虽然容器能够在同一物理主机上运行多个应用,但是不合理的资源分配和管理可能导致资源的浪费。

为了解决这个问题,可以采用资源调度和管理工具,如Kubernetes。

Kubernetes可以根据应用的需求,动态地调整和分配资源,确保资源利用率的最大化。

其次,容器之间的隔离性也是一个重要的问题。

不同容器之间共享同一主机内核,如果容器之间存在安全漏洞或者恶意行为,可能会对其他容器造成影响。

为了提高容器间的隔离性,可以采用安全增强技术,如Linux Security Modules(LSM)和用户命名空间。

LSM可以控制容器对主机资源的访问权限,而用户命名空间可以为每个容器分配独立的用户空间,从而增加容器之间的隔离性。

另一个挑战是容器网络的管理。

在容器化的应用中,不同容器之间需要进行通信和数据交互,但是容器网络的管理并不容易。

一种解决方案是采用容器网络插件,如Flannel、Calico等。

这些插件可以为每个容器分配独立的IP地址,并提供容器间的网络隔离和通信功能。

此外,容器的持久化存储也是一个需要解决的问题。

容器技术本身是一种短暂的、临时的存储方式,当容器被终止后,其内部的数据也会被删除。

为了实现容器的持久化存储,可以使用持久化卷技术,如Docker的卷(Volume)和Kubernetes的持久化卷(Persistent Volume)。

这些技术可以将容器和数据的生命周期分离,保证数据的持久性和可靠性。

最后,容器部署与管理也是容器技术面临的挑战之一。

当应用规模扩大时,手动管理容器将变得非常繁琐和复杂。

Docker容器中常见问题及解决方法大全

Docker容器中常见问题及解决方法大全

Docker容器中常见问题及解决方法大全Docker作为一种流行的容器化技术,为开发人员提供了一种轻量级、可移植、可扩展的应用部署方案。

然而,在使用Docker容器时,开发人员可能会遇到一些常见的问题。

本文将列举一些常见问题,并提供相应的解决方法。

1. 容器无法启动当尝试启动一个Docker容器时,有时会遇到容器无法启动的问题。

这可能是因为容器中的进程退出导致的。

解决方法是可以通过docker logs命令查看容器的日志输出,以便找出问题所在。

另外,也可以使用docker exec命令进入容器内部,查看容器内部的进程状态,以便进行故障排查。

2. 容器运行缓慢有时候,Docker容器在运行过程中可能会出现性能缓慢的问题。

这可能是因为容器内部的资源限制或者资源竞争导致的。

解决方法包括调整容器的资源限制,如内存和CPU的配额,以及检查容器中是否有资源密集型的进程导致的性能问题。

另外,可以使用Docker Swarm等工具进行容器的负载均衡,以提高整体性能。

3. 容器间网络通信问题在多个Docker容器之间进行网络通信时,有时候会出现通信失败的问题。

这可能是因为容器的网络配置不正确导致的。

解决方法包括使用docker network命令创建网络,将容器连接到该网络,并确保各个容器的IP地址和端口设置正确。

另外,也可以使用Docker Compose等工具来管理容器间的网络配置,以简化配置过程。

4. 容器数据持久化问题在使用Docker容器时,数据持久化是一个常见的需求。

然而,由于Docker容器的特性,在容器被删除后,其中的数据也会随之丢失。

解决方法包括使用外部存储卷来持久化数据,或者使用Docker的数据卷功能来实现数据的持久化存储。

另外,也可以使用容器编排工具来管理数据的持久化,以便实现高可用性和数据备份等需求。

5. 容器镜像管理问题Docker镜像作为容器的模板,对于容器的管理至关重要。

然而,在使用Docker镜像时,有时候会遇到一些问题。

容器编排错误排查与故障处理技巧

容器编排错误排查与故障处理技巧

容器编排错误排查与故障处理技巧随着容器技术的日益成熟,容器编排已成为现代云计算领域中不可或缺的一环。

容器编排平台如Kubernetes等为开发者提供了高效的容器集群管理和调度能力,然而在实际应用中,难免会遇到一些问题和故障。

本文将探讨容器编排中的错误排查与故障处理技巧,帮助读者更好地解决这些问题。

一、错误排查技巧1.日志分析在面对故障时,首先要做的是分析容器运行时的日志。

通过观察日志信息,可以了解容器内部的运行情况和错误提示。

容器编排平台通常会为每个容器提供标准输出和错误输出。

使用命令kubectl logs可以查看容器的运行日志,并通过分析日志内容来定位问题。

2.监控在容器编排平台中,监控是非常重要的一环。

通过监控系统可以实时监测容器集群的运行状态和指标,如CPU、内存、网络等。

当出现异常时,监控系统可以及时报警,帮助管理员寻找故障原因。

常见的容器监控系统有Prometheus和Grafana等。

3.事件追踪当容器编排系统出现问题时,常常需要追踪事件的发生和处理过程。

容器编排平台一般会记录事件日志,如Node添加、Pod创建、容器重启等。

通过查看事件日志,可以了解容器编排系统的操作历史,从而找到可能的问题根源。

4.调试工具除了日志分析和监控系统外,还可以使用一些调试工具来辅助问题排查。

例如,kubectl exec命令可以进入正在运行的容器内部,以执行命令和查看文件。

还可以使用网络抓包工具如Wireshark来对容器之间的通信进行监控,以诊断网络问题。

二、故障处理技巧1.容器重启当一个容器出现故障时,可以尝试重新启动容器,来解决可能的临时问题。

容器编排平台提供了kubectl restart命令来重新启动容器。

此外,还可以调整容器的资源限制,如调整内存和CPU等,以适应容器的需求。

2.节点迁移当一个节点出现故障或超过资源限制时,可以考虑将容器迁移至其他节点。

通过kubectl drain命令可以将一个节点上的所有Pod迁移至其他节点,以实现高可用和负载均衡。

Docker容器的故障排除和问题解决指南

Docker容器的故障排除和问题解决指南

Docker容器的故障排除和问题解决指南一、引言Docker容器是一种轻量级、可移植、可扩展的虚拟化技术,已经在软件开发和部署中被广泛应用。

然而,尽管Docker容器相对于传统虚拟机具有许多优势,但在使用过程中仍然会遇到一些故障和问题。

本文将为您提供Docker容器故障排除和问题解决的指南,帮助您快速定位和解决常见的问题。

二、容器启动问题的排除和解决1. 容器无法启动如果您遇到容器无法启动的问题,首先要确保容器的镜像存在,并且没有下载和构建错误。

您可以通过运行`docker images`命令查看本地已有的镜像。

如果镜像存在,但容器仍然无法启动,可能是由于端口冲突、文件权限等问题导致。

您可以尝试修改容器的端口映射或者检查容器内部文件的访问权限。

2. 容器启动后立即退出如果容器在启动后立即退出,可能是由于容器内的主进程异常导致。

您可以通过运行`docker logs <容器ID>`命令查看容器的日志输出,以了解容器退出的原因。

常见的原因包括缺少依赖项、配置错误、资源耗尽等。

您可以尝试更新容器的依赖项、检查配置文件的正确性,或者调整容器的资源限制。

三、容器网络问题的排除和解决1. 容器无法访问外部网络如果容器无法访问外部网络,首先要确保宿主机的网络连接正常。

您可以尝试通过宿主机访问外部网络,以确定网络是否正常工作。

如果宿主机的网络连接正常,但容器仍然无法访问外部网络,可能是由于Docker网络配置问题导致。

您可以检查Docker的网络配置,确保网络设置正确。

另外,某些情况下,容器的防火墙配置可能会阻止对外部网络的访问。

您可以检查容器的防火墙配置,以确定是否存在阻止访问的规则。

2. 容器之间无法相互通信在使用Docker时,可能需要将多个容器连接到同一个网络中,以实现容器之间的通信。

如果容器之间无法相互通信,可能是由于网络配置错误导致。

首先,您可以检查容器所连接的网络是否正确配置。

您可以运行`docker network inspect <网络名称>`命令,检查网络的配置和容器的IP地址分配情况。

集装箱配载注意的问题

集装箱配载注意的问题

大连海事大学毕业论文二O 一五年六月集装箱船舶配载注意事项---就深圳赤湾集装箱码头配载实例分析专业班级:航海技术2011级20班姓名:指导教师:航海学院内容摘要配载是集装箱运输的一个核心环节。

配载主要解决船舶在装载集装箱时,在保证船舶运营的安全性和经济性的基础上,制定集装箱在船上的装载位置的计划,并可以在此基础上形成集装箱装卸顺序。

配载计划质量的高低直接影响船舶的安全性能和码头装卸作业的效率。

研究配载的注意事项等问题,对集装箱码头的现代化管理和集装箱船舶运输都有广泛的工程背景和应用价值。

集装箱船配载问题是带有复杂约束的多目标组合优化问题,期望通过单一理论模型来解决配载的所有问题是很困难的,本文在大量研究和考虑配载问题的特点的基础上提,然后根据各问题的特点采取不同的方法解决,从而解决不同问题。

本文首先研究的是集装箱船舶配载的特点,总结了集装箱船舶配载中的注意参数,结合船公司预配的情况,将堆场上集装箱组集装箱分配到船上单元块,使得分配最为合理,在此基础上可以提高港口方设备利用效率。

本文通过对配载问题的大量研究,为了在以往研究基础上有所突破,考虑了堆场和设备的因素以及船舶本身的限制条件,在船公司和港口方配载部门选择一种合适的配载方案。

【关键词】集装箱; 配载计划; 倒箱; 稳定性AbstractIn the maritime container transport logistics,stowage plan is an important part in ensuring the safety of ship operation and economy, on the basis of container loaded on the ship location plan, and can be based on the formation of container handling order. The stowage plan quality directly affect the safety performance of a ship and the terminal handling efficiency. Research of attention problems of modernization management of container terminals and container shipping have wide engineering background and application value.Container ship stowage problem is a multi-objective combinatorial optimization problems with complicated constraints, expectation through a single theoretical model to solve the problem of loading of all it is very difficult, in this paper, in a large number of research and consideration on the basis of the characteristics of the loading problem, and then according to the characteristics of the various problems take different methods to solve, so as to solve different problems.At first, this paper studies the characteristics of container ship stowage, pay attention to the parameters of the container ship stowage are summarized, combined with the shipping company prewired situation, will block container yard container on group assigned to the ship, makes the distribution of the most reasonable and based on it can improve the utilization efficiency of port side equipment.This article through to the loading problem of a large number of research, in order to breakthrough based on previous research, considering the yard and equipment factors and constraints of the ship itself, in the ship company and port loading department to choose a proper loading scheme.【Key words】container; stowage planning; rehanding; stability目录目录 (5)1课题研究背景与意义 (6)1.1研究背景 (6)1.2国内外研究现状分析 (6)1.2. 1国外研究 (6)1.2.2国内研究 (7)2集装箱船舶配载的特点 (8)2.1集装箱配载的制约 (8)2.1.1集装箱舶装载的箱容量与船舶净载重量的相互制约 (8)2.1.2集装箱船舶配载对稳性要求较为严格 (8)2.2集装箱船舶配载应满足的要求 (8)2.2. 1充分利用集装箱船舶箱位容量和净载重量 (8)2.2.2满足集装箱船舶箱位配置及其堆装要求 (9)2.2.3满足集装箱装卸顺序和快速装卸要求 (9)2.2.4满足控制倒箱数量的要求 (9)3集装箱船舶配载主要注意的参数 (10)3.1 初稳性高度 (10)3.2吃水差 (10)3.3船舶强度 (11)3.3.1剪切强度 (11)3.3.2纵向强度 (11)3.4LASHING FORCE 的调整 (11)4港口方预配装船计划注意事项 (12)4.1码头编制初配过程 (12)4.1.1显示预配 (12)4.1.2制作预配 (14)5港口方实配装船计划注意事项 (15)5.1箱信息面板和列信息面板 (15)5.1.1箱信息面板 (15)5.2选箱 (16)5.2.1选箱实配工具 (16)5.3实配计划 (18)5.3.1实配 (18)6在配载中应主要注意问题 (20)6.1充分利用船箱位和船舶装载能力 (20)6.2保证船舶具有适度的稳性 (20)6.3保证船舶强度 (20)6.4保证船体具有适度的吃水差 (21)6.5满足中途卸货港装装卸集装箱的要求 (21)6.6避免“压港”现象,合理预配选港(OPTIONAL)集装箱 (21)6.7注意高箱的配置是否超出限制要求 (22)6.8注意每一ROW的集装箱总重是否超出STACKWEIGHT要求。

stowage factor计算公式

stowage factor计算公式

stowage factor计算公式stowage factor是指在船舶运输中,货物所占的体积与重量之比,通常以立方米/吨(m^3/t)为单位。

它是衡量货物在船舶中的装载密度和货物装载效率的重要指标。

计算stowage factor的公式为:Stowage factor = 货物体积 / 货物重量在船舶运输中,由于舱位的限制以及货物的特性,货物的装载密度是一个非常重要的考虑因素。

合理的stowage factor能够确保船舶的装载效率,最大化船舶的装载量,减少运输成本。

货物的体积和重量是计算stowage factor的两个关键因素。

货物的体积可以通过测量长、宽、高来得到,然后进行体积计算。

货物的重量可以通过称重来确定。

将货物的体积除以货物的重量即可得到stowage factor。

在实际运输中,货物的stowage factor会受到多种因素的影响。

首先是货物的特性,不同类型的货物有不同的stowage factor。

例如,钢材、矿石等密度高的货物其stowage factor较小,而木材、纺织品等密度较低的货物其stowage factor较大。

其次是船舶的装载条件,不同船舶的舱位大小和形状不同,会对货物的装载密度产生影响。

再次是货物的装载方式,不同的装载方式也会影响货物的装载密度。

例如,散装货物和集装箱货物的装载密度会有所不同。

合理计算和控制stowage factor对于船舶运输的效益至关重要。

如果stowage factor过小,说明货物的体积较大,相同重量的货物占用的舱位较多,会导致船舶的装载量下降,运输效率降低。

如果stowage factor过大,说明货物的重量较大,相同体积的货物占用的舱位较少,会导致船舶的装载量未能充分利用,造成资源浪费。

因此,在实际运输中,需要根据货物的特性和船舶的装载条件合理计算和控制stowage factor,以达到最佳的装载效率。

在货物运输中,合理计算和控制stowage factor不仅可以提高船舶的装载效率,降低运输成本,还可以提高货物的安全性。

24 集装箱运输基础知识解析

24 集装箱运输基础知识解析

国际标准化组织对集装箱的定义
• 能长期的反复使用,具有足够的强度 • 途中转运不用移动箱内货物可以直接换装 • 可进行快速装卸,并可从一种运输工具直 方便地换装到另一种运输工具 • 便于货物的装满和卸空 • 具有1m³(35.32ft³)以上的内容积
• 集装箱的英文是什么?
——Container
40
1AAA 1AA 1A 1AX
12192
40’
2438
8’
2591
2438
<2438 2896
8’
<8’ 9’ 6”
30480
67200
30
1BBB 1BB 1B 1BX
1CC 1C 1CX
9125
29’11.2 5”
2438
8’
2591
2438 <2438
8’ 6”
8’ <8’
25400
56000
将前四位字母对应的等效数字和后面顺 序号的数字(共计10位)采用加权系数法进 行计算求和。计算公式为: S=∑Ci X 2 i 最后以S除以模数11,求取其余数,即得核对号。 例题:求中国远洋运输公司的集装箱 COSU800121的核对号。
第二组标记
国籍代号:用3位拉丁字母表示,说明集装箱 的登记国,例如“RCX”为“中华人民共和 国”的代号。 尺寸代号:由2位阿拉伯数字组成,用于表示 集装箱的尺寸大小。例如:20表示20英尺 长,8英尺高的集装箱。 类型代号:由2位阿拉伯数字组成,说明集装 箱的类型,其中00~09为通用集装箱, 30~49为冷藏集装箱,50~59为敞顶集装箱
框架集装箱 (flat rack container,FR)
台架式集装箱 (Platform Based Container)

Docker容器中的故障恢复和容器自愈的解决方案

Docker容器中的故障恢复和容器自愈的解决方案

Docker容器中的故障恢复和容器自愈的解决方案近年来,Docker已成为现代化应用程序部署的热门技术之一。

它的快速部署和可移植性使得它成为了开发者和运维人员喜爱的工具。

然而,随着容器应用程序的增加,面临的挑战也日益显现,其中之一就是容器中的故障恢复和容器自愈。

故障恢复是指当容器应用程序发生故障时,能够自动检测问题并尽快恢复到正常状态的能力。

容器自愈是指容器能够自我修复、自我调整以应对可能发生的故障。

为了实现故障恢复和容器自愈,以下是几种解决方案的介绍。

1. 监控和报警系统监控和报警系统是实现故障恢复和容器自愈的基础。

通过监控容器应用程序的性能指标、资源利用率和错误日志,可以及时发现潜在问题并进行预警。

预警不仅可以通知管理员,也可以触发自动化脚本进行故障恢复。

2. 健康检查与自动恢复健康检查是容器应用程序是否正常运行的重要指标之一。

可以通过定期的健康检查,检测到容器中的问题并采取措施进行自动恢复。

例如,可以通过发送HTTP请求到容器应用程序暴露的健康检查接口,监听返回状态码来确定容器的健康状态。

如果返回的状态码表明容器不健康,可以触发自动恢复机制,例如重新启动容器或重启关联的容器。

3. 负载均衡和容器编排负载均衡和容器编排工具在故障恢复和容器自愈方面发挥着重要作用。

通过使用负载均衡器,可以将流量分发到多个容器实例上,使得当某个容器发生故障时,流量不会中断,而是自动切换到其他健康的容器上。

而容器编排工具可以根据事先定义的策略,自动地创建、管理和调度多个容器实例,以实现容器的自愈。

例如,当某个容器发生故障时,编排工具可以自动重新启动此容器,或者创建一个新的容器替代故障容器。

4. 弹性存储容器中的故障恢复还需要考虑到数据的持久性和可靠性。

弹性存储可以提供持久化数据存储,并且能够自动备份和恢复数据。

这样,即使容器发生故障,数据仍然可靠地保存在存储系统中,可以方便地进行故障恢复。

总结起来,故障恢复和容器自愈是Docker容器部署中至关重要的一环。

船舶拥挤英语作文高中

船舶拥挤英语作文高中

船舶拥挤英语作文高中In recent years, the maritime industry has witnessed a significant increase in the number of ships traversing the world's oceans. This surge in maritime traffic has led to a pressing issue: vessel congestion. High-density traffic inkey shipping lanes not only poses a threat to the safety of navigation but also has economic and environmental implications. This essay aims to explore the causes of ship congestion, its consequences, and potential solutions to mitigate this growing problem.Firstly, the primary cause of vessel congestion is the exponential growth in global trade. As economies expand and demand for goods increases, more ships are needed totransport commodities and finished products across the seas. This has resulted in a higher volume of vessels in already busy shipping lanes, such as those near the Strait of Malacca and the Panama Canal.Secondly, the consequences of vessel congestion are manifold. Safety is a critical concern, as the increased risk of collisions can lead to maritime accidents, which may resultin loss of life, property damage, and environmental disasters. Additionally, congestion can cause delays, which affect the timely delivery of goods and increase the costs for businesses. This can have a ripple effect on the globalsupply chain, leading to higher prices for consumers.Environmental considerations are also significant. Vessels idling in congested areas consume more fuel, leading to increased emissions of greenhouse gases and contributing to climate change. Moreover, the potential for oil spills and other forms of marine pollution is heightened in areas with high ship traffic.To address the issue of vessel congestion, several strategies can be employed. One such strategy is the implementation of advanced traffic management systems. These systems use technology to monitor and control the flow of ships, similar to air traffic control for aircraft. By optimizing routes and schedules, congestion can be reduced, and the efficiency of maritime traffic can be improved.Another solution is the expansion and development of alternative shipping lanes. By creating new routes and improving less utilized ones, the pressure on existing lanes can be alleviated. This requires international cooperation and significant investment in infrastructure, but it can provide a long-term solution to the problem.Furthermore, the promotion of slow steaming can also help. Slow steaming, or reducing the speed of vessels, can lead to fuel savings and reduced emissions. While this may increase the time it takes for ships to reach their destinations, it can also reduce the likelihood of congestion by spreading out the arrival times of vessels.In conclusion, vessel congestion is a complex issue that requires a multifaceted approach. By understanding the causesand consequences, and by implementing innovative solutions, the maritime industry can work towards a safer, more efficient, and environmentally friendly future. It is imperative that stakeholders, including governments, shipping companies, and international organizations, collaborate to tackle this challenge head-on.。

物流配送实务-配装的形式、原则与方法

物流配送实务-配装的形式、原则与方法

集装箱配装问题常用的启发式方法
在配装过程中,除了对货物和集装箱自身的 尺寸、重量及利润的考虑外,还有一些因素需要 引起注意。 注:在装载运输过程中,货物通常都带有包 装盒,因此下文除特别说明对 货物和包装盒不 做专门区分,均以货物统称。
集装箱配装问题常用的启发式方法
①方向限制:有时货物的摆放方向有明确要求,比如某一部 位标明“注意将该部位朝上放置”,因此装载必须严格按 照此要求执行 ②承载能力限制:货物的承载能力由包装盒的结构和货物本 身的性质决定。因为承载力在竖直方向上,如果相同体积 的货物垂直摆放可能不会引起什么问题,但是体积差异的 货物摞在一起就可能会导致损坏发生 ③稳定性:货物在集装箱内不能窜动,以免相互间磕碰引起 损坏。需要用泡沫塑料填充空余空间或用包装带捆束以固 定货物。另外尽可能使集装箱重心和其几何中心一致,以 有利于运输和机械装卸作业。
集装箱配装(CLP)的形式及要考虑的因素
根据目标函数和边界约束条件,集装箱配装问题变化形式:
1
最小长度配装 (strip packing): 它假设集装箱的高 度和宽度为确定尺 寸但长度无限大, 目标是使装载货物 后长度利用最小。 带形配装可以应用 在多目的地卸货情 况下
背包装载(knapsack loading):该种情形 认为,每个货物都会 产生一定的利润,因 此目标为利润的最大 化,如果假定利润与 货物体积相当,那么 目标转化为集装箱空 间浪费最低也即容积 利用率最高
配装的一般原则
1.轻重搭配的原则
车辆装货时必须将重货置于底部轻货 置于上部重心下移确保稳固同时避免 重货压坏轻货以保证运输安全
2.大小搭配的原则
货物包装的尺寸有大有小大小搭配 以减少箱内的空隙确保稳固同时充 分利用了车厢的内容积
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Discrete Applied Mathematics103(2000)271–279NoteContainer ship stowage problem:complexity andconnection to the coloring of circle graphsMordecai Avriel,Michal Penn∗,Naomi Shpirer Faculty of Industrial Engineering and Management,Technion–Israel Institute of Technology,Haifa3200,IsraelReceived29July1997;revised2November1999;accepted8November1999AbstractThis paper deals with a stowage plan for containers in a container ship.Since the approach to the containers on board the ship is only from above,it is often the case that containers have to be shifted.Shifting is deÿned as the temporary removal from and placement back of containers onto a stack of containers.Our aim is toÿnd a stowage plan that minimizes the shifting cost. We show that the shift problem is NP-complete.We also show a relation between the stowage problem and the coloring of circle graphs ing this relation we slightly improve Unger’s upper bound on the coloring number of circle graphs.?2000Elsevier Science B.V. All rights reserved.1.IntroductionThis paper was motivated by the operation of a container ship that calls many ports, and in each port it loads and unloads containers.Since,the approach to the containers on board the ship is only from above,it is often the case that containers have to be shifted.Shifting is deÿned as the temporary removal from and placement back of containers onto a stack of containers.The need for shiftings arises,for example,in a vertical stack of containers if there is a container placed inside the stack that has port j as its destination,while the containers on top of it have destinations further away from port j.In this case the latter containers have to be shifted.The cost of shiftings for a large ship can be very considerable.∗Corresponding author.Fax:97248235194.E-mail address:mpenn@ie.technion.ac.il(M.Penn).0166-218X/00/$-see front matter?2000Elsevier Science B.V.All rights reserved.PII:S0166-218X(99)00245-0272M.Avriel et al./Discrete Applied Mathematics103(2000)271–279The number of containers shifted along the ship’s route is greatly a ected by planningthe placement of containers on board the ship.The task of determining the best con-tainer placement is called stowage planning,see e.g.[16,17].Whereas most stowageplans are based on port e ciency,and stability–strength considerations of the ship,not much attention has been given to devise a plan that minimize the number ofshifts.Some attempts in this direction can be found in[2–4].A related problemthat can be modelled similarly is the problem of dispatching trams on storage yard(see[5]).In this paper we address the computational complexity of this optimization problem. Aslidis[1]presents a polynomial-time algorithm for solving the single column case. We,further,show that the general optimization problem is NP-complete.It is clear that if the number of columns in a rectangular bay is very large,we can devise a plan that no shiftings would be necessary along the ship’s route.We derive upper and lower bounds on the number of columns for which a plan can be found in polynomial time that will result in zero shifts.For special types of transportation(source–destination) matrices we derive the exact number of such columns.Further,we show thatÿnding the minimum number of columns for which there is a zero shifts stowage plan is equivalent toÿnding the coloring number of circle ing this relation we slightly improve Unger’s upper bound on the coloring number of circle graphs[18].This bound and the appropriate coloring can be computed in polynomial time by using our previous results and Unger’s approximation algorithm.Consider a container ship consisting of a single bay for container stowage.The bay has C vertical columns and R rows.If each column in the bay has aÿnite number of rows,then the bay is referred to as a capacitated bay,otherwise it is referred to as an uncapacitated bay.Assume,for simplicity,that all the containers are of the same standard size.The ship starts its service route at port1with its bay empty of containers, and it sequentially visits ports2;3;:::;n.In each port i=1;:::;n−1,containers can be loaded to destinations i+1;:::;n.In the last port n,the ship is emptied of all its containers.The placement of containers in a bay when the ship leaves port i remains unchanged until arrival at port i+1.Let T=[T ij]be the(n−1)×(n−1)transportation matrix,where T ij is the number of containers originating at port i with destination j;j=i+1;:::;n.Thus,T ij=0for all i¿j.Note,that the indices of the diagonal of T are T i;i+1.Assume that the transportation matrix is known before the ship starts its service route.A container is a j-container if its destination is port j.A j-container is an ij-containerif its origin is i.The set of all ij-containers is referred to as an ij-group.The prob-lem ofÿnding a stowage plan with the smallest number of shifts,is referred to as the minimum shift problem.Consider the following decision shift problem:Given a transportation matrix,a nonnegative integer s,and a bay,is there a stowage plan with a cost of at most s shifts?A shift problem with an uncapacitated bay is referred to as an uncapacitated shift problem.Consider the following decision uncapacitated s (zero)-shift problem:Given a transportation matrix and an uncapacitated bay,is there a stowage plan with a cost of at most s(zero)shifts?M.Avriel et al./Discrete Applied Mathematics103(2000)271–279273 Note that it is easy to see that given a transportation matrix and an uncapacitated bay,there is always an optimal stowage plan in which the containers of each ij-group are assigned to successive slots in one of the columns in the bay.Thus,any so-lution for the uncapacitated zero-shift problem,can be derived easily from a solu-tion to a related problem where any ij-group of containers is replaced by a single ij-container.However,if the bay is capacitated,then the above remark does not nec-essarily hold.2.Zero-shifts and coloring of overlap graphsWe show here the connection between the zero-shift problem and coloring of overlap graphs.We start with some deÿnitions.An[i;j]-interval is{x∈R:i6x6j},where R is the set of the real numbers.To each ij-group of containers with T ij¿0,assign an [i;j]-interval on the line.Thus,for every transportation matrix T,there is a unique set of intervals.Observe as well that for every set of[i;j]-intervals with i;j nonnegative integers we can associate a corresponding transportation matrix T.We say that two intervals,say an[i;j]-interval and a[k;l]-interval,overlap if i¡k¡j¡l.Observe that two intervals overlap if,and only if,their corresponding elements in the matrix,say T ij and T kl with i¡k¡j¡l,do not satisfy the following condition:If T ij¿0then T kl=0.Thus,in order to avoid shifts,the ij-containers and the kl-containers must be located in di erent columns.We say that an[i;j]-interval contains a[k;l]-interval if i¡k¡l¡j.Observe,further,that if one interval contains the other,say an[i;j]-interval contains a[k;l]-interval,then if the kl-container is loaded in a slot above the ij-container then the kl-container is not blocking the ij-container at itsÿnal destination in port j.Consider a family I={I1;:::;I n}of intervals on a line.The overlap graph of I is deÿned to be a simple graph in which each vertex corresponds to an interval,and two vertices are joined together if and only if the two corresponding intervals overlap [12].Clearly,for each transportation matrix we can construct its corresponding overlap graph,and this graph consists of at most n(n−1)=2vertices,where n is the number of ports.A graph is C-colorable if there is a partition of its vertices into C sets,such that no two adjacent vertices are in the same set.The problem ofÿnding ,the minimum number of colors needed for coloring a given graph,is called the coloring problem. The C-coloring problem is as follows:Given a graph,is it C-colorable?Using the relations between overlap graphs and transportation matrices we have the following lemma which is easy to prove.Lemma2.1.Given a transportation matrix T and an uncapacitated bay;the corre-sponding overlap graph is C-colorable if;and only if;C columns are su cient for obtaining a zero-shifts plan.274M.Avriel et al./Discrete Applied Mathematics103(2000)271–279Thus,the uncapacitated zero-shift problem is shown to be equivalent to the C-coloring problem of overlap graphs.Note that one can show that,under certain ordering of the intervals corresponding to a transportation matrix,the zero-shift stowage problemis equivalent to the problem of sorting using stacks in parallel.This sorting problemis shown to be equivalent to overlap graph coloring[9].3.NP-completenessClearly,the(uncapacitated)shift problem and the(uncapacitated)zero shift problemare in NP.Observe that the NP-completeness of the uncapacitated zero-shift problemimplies the NP-completeness of the uncapacitated shift problem.Based on the aboveobservation,our aim is to prove the NP-completeness of the uncapacitated zero-shift problem.In1980,Garey et al.[11]have shown that the C-coloring problem of overlapgraphs is NP-complete.Denoting by C∗the minimum number of uncapacitated columns needed for a zero-shifts plan to exist,it follows thatÿnding C∗is NP-complete.How-ever,forÿxed C,the complexity of the C-coloring problem remained unknown for several years.In1988,Unger[18]partially solved the problem by showing that the C-coloring problem of overlap graphs is NP-complete for anyÿxed C¿4.He com-pleted the picture in1992[19]by presenting an O(|V|log|V|)algorithm for3-coloring of overlap graphs,where V denotes the set of the vertices of the overlap graph. Observe that2-coloring of an overlap graph can be done in polynomial time(recogni-tion of bipartite graphs).Hence,Theorem3.1.Let C be the number of columns in a uncapacitated bay.Then;theuncapacitated shift problem is NP-complete for C¿4.Note that the above theorem implies that for any given s,the uncapacitated s-shiftproblem is NP-complete for C¿4.Observe also that the uncapacitated shift problemwith2or3uncapacitated columns remains unsolved.For a single uncapacitated columnthere is an O(|n|3)time algorithm[1],where n indicates the number of ports.We turn now to discuss the capacitated shift problem.Consider the following decisionproblem.Given a transportation matrix,a nonnegative integer s,and a capacitated bay,is there a stowage plan with a cost of at most s shifts?It follows from Theorem3.1that if C¿4then the capacitated shift problem cannot be polynomially solvable for every R,the number of rows in each column.However,forÿxed R,the complexity of the problem is still unknown.Clearly,if R=1then the capacitated minimum shift problem is polynomially solvable;yet even for R=2,solving the problem is not trivial.4.Bounds on C∗In the previous section we have shown that given a transportation matrix,ÿnding C∗, the minimum number of uncapacitated columns needed for a zero-shifts plan to exist,isM.Avriel et al./Discrete Applied Mathematics 103(2000)271–279275NP-complete.Herein,we present some bounds on this number.Based on Lemma 2.1,these bounds are also bounds on the coloring number of the appropriate overlap graph.The following deÿnition is needed in the sequel.Deÿne a k -clique of a graph to be a completely connected subgraph on k vertices (e.g.[8]).Let !be the cardinality of a maximum clique in the graph.It is shown in[15]that a maximum clique in an overlap graph can be found in O(|V |2)time.Given an overlap graph,it is shown in [18]that a 2!-coloring is always possible and can be found in O(|V |2)time,but the (2!−1)-coloring problem is NP-complete.Let T be a transportation matrix and G its corresponding overlap graph.Let C ∗be as deÿned above,and let !be the cardinality of a maximum clique in G .Then,2!serves as an upper bound on C ∗by using the approximation algorithm of Unger [18].Also,!is a lower bound on C ∗,since ,the coloring number of a graph,satisÿes ¿!.Thus,for any transportation matrix T;!6C ∗62!:We show below a better bound for general transportation matrices and tight bounds for special types of transportation matrices.Denote by 1n -matrix the (n −1)×(n −1)upper triangular matrix with all entries on the diagonal and above it equal to 1.Denote by the lower integer part of and by the upper integer part of .Lemma 4.1.Let G be the overlap graph corresponding to a 1n -matrix.Then a maximum clique in G i s of size n=2 .Proof.Consider the intervals and the overlap graph associated with the 1n -matrix.Assume a clique in the overlap graph contains a vertex that corresponds to an interval of size k .Then,the size of that clique is at most k .Hence,if a vertex of the clique corresponds to an interval of size k 6 n=2 ,then the clique size is at most n=2 .Now,if all the vertices of the clique correspond to intervals of size ¿ n=2 ,then there are at most n=2 such vertices.Therefore !6 n=2 .To see the equality,one should consider a clique where each vertex of the clique corresponds to an interval of size n=2 .Since there are at least n=2 such vertices,the corresponding clique would be of size n=2 .Thus,a maximum clique is of size n=2 ,and the proof of the lemma is complete.Note that if n is even,then there is a unique maximum clique of size n=2.Lemma 4.2.Let T be an (n −1)×(n −1)transportation matrix with no zero entry on or above the diagonal.Then ; n 2 6C ∗6 n 2:Proof.Clearly,we can assume without loss of generality that T is a 1n -transportation matrix.Based on Lemma 4.1,the fact that C ∗and the coloring number are the same (Lemma 2.1),and that always ¿!,we obtain that n=2 6C ∗:276M.Avriel et al./Discrete Applied Mathematics103(2000)271–279Fig.1.Coloring the vertices of G according to their A ij values.It will follow from the two lemmas to follow that C∗6 n=2 :We originally proved this part by presenting a simple polynomial-time algorithm for obtaining a zero-shift plan.However,after having communicated our result to Ron Holzman,he pointed out how to present our zero-shifts plan in a bay with n=2 uncapacitated columns,as coloring of the appropriate overlap graph.We have chosen to present here Holtzman’s proofs[14].Lemma4.3.Let T be a1n-transportation matrix and let G be its corresponding overlap graph.Then;G is n=2 -colorable.Proof.For16i¡j6n,let the[i;j]-interval be the one corresponding to the ij-container.For each[i;j]-interval let A ij=i+j.Observe that if two intervals,say [i;j]and[k;l],overlap,then26|A ij−A kl|6n−2:(1)Below,we show an n=2 coloring for any even n.One can obtain in a similar way, an n=2 coloring for any odd n.We color the vertices according to their A ij values as shown in Fig.1.To see that the above coloring is proper,one should observe that (1)does not hold for each set of vertices having the same color.Lemma4.4.Let T be an(n−1)×(n−1)transportation matrix with no zero entry on or above the diagonal;let n be an odd number;and let G be its associated overlap graph.Then ¿!= n=2 :Proof.Consider the set of all[i;j]-intervals,each corresponding to an ij-group of containers.Consider,further,the set V of all vertices of G.For each[i;j]-interval we denote by v i;j its corresponding vertex.Recall that n is odd and let n=2k+1.Observe that by Lemma4.1!=k.Consider the following two maximum cliques.Theÿrst one is{v1;k+1;v2;k+3;v3;k+4;:::;v k;2k+1}and the second one is{v1;k+2;v2;k+3;v3;k+4;:::; v k;2k+1}.Observe that the two cliques di er only by one vertex.Thus,in any proper k-coloring of G,v1;k+1and v1;k+2would have the same color.Consider now another pair of maximum cliques.One is{v2;k+2;v3;k+3;v4;k+4;:::; v k+1;2k+1}and the other is{v1;k+2;v3;k+3;v4;k+4;:::;v k+1;2k+1}.These two cliques also di er by one vertex and hence in every proper k-coloring v2;k+2and v1;k+2would have the same color.M.Avriel et al./Discrete Applied Mathematics103(2000)271–279277 Recall that for any16i¡j62k+1the vertex v i;j exists in the graph.Thus,in every proper k-coloring,v1;k+1;v1;k+2and v2;k+2would have the same color.But this is a contradiction,since v1;k+1and v2;k+2are adjacent in G.Theorem4.5.Let T be an(n−1)×(n−1)transportation matrix with no zero entry on or above the diagonal.Then;C∗= n=2 and there is a simple linear time algorithm to obtain a zero-shifts plan with C∗columns.Proof.If n is even then n=2 = n=2 and therefore by Lemma4.2C∗=n=2.If n is odd then from Lemmas4.3and4.4 n=2 ¡C∗6 n=2 implying C∗= n=2 .The algorithm in consideration is the algorithm mentioned after Lemma4.2.The following corollary is an immediate consequence of Lemma4.1,Unger’s ap-proximation algorithm for2!-coloring of overlap graphs[18]and the above theorem. Corollary4.6.Let T be an(n−1)×(n−1)transportation matrix;and let!be the cardinality of a maximum clique in its corresponding overlap graph.Then;!6C∗6 min{2!; n=2 };and there is a polynomial time algorithm to obtain a zero-shifts plan with min{2!; n=2 }-columns.5.Coloring of overlap(circle)graphsWe turn now to discuss coloring of overlap graphs and to present a slightly better upper bound to the one obtained in[18].Recall that given a transportation matrix T and its corresponding overlap graph G;C∗and (the coloring number of G),are the same.Hence,the upper bound stated in Corollary4.6serves as an upper bound for .Now,if G is an overlap graph,a natural question that comes to mind is: what is the meaning of n?We answer this question below.Gavril[10]proved that overlap graphs are equivalent to circle graphs,where a graph is a circle graph if the vertices can be mapped to chords of a circle so that two vertices are adjacent if and only if the corresponding chords of the circle intersect.Circle graphs were recently characterized by Bouchet[7]in terms of obstructions.As was shown by Bouchet[6] and independently by Gabor et al.[13]a circle graph is not uniquely represented on the circle.Given a circular ordering that correctly represents G,one can construct the appropriate intervals[10].Now,given a set of intervals that correctly represents the vertices of G,we let p be the total number of end-points of these intervals.Note that there is a(p−1)×(p−1)transportation matrix T which corresponds to the set of the intervals.Hence,p can replace n in the upper bound.Observe that p might get di erent values for di erent representations of G as a set of intervals.Recall that calculating !(the cardinality of a maximum clique in G)can be done in O(|V|2)time[15]. Given an overlap graph,a circular ordering that correctly represents G can be found in O(|V|2)time by using Spinard’s algorithm[17].Given this circular ordering,the278M.Avriel et al./Discrete Applied Mathematics103(2000)271–279 appropriate intervals can be constructed in linear time[10].Therefore,min{2!; p=2 } can be calculated in O(|V|2)time.It will be nice toÿnd a representation of G in which p is as small as possible.Consider I,a set of intervals on a line with1(p)as theÿrst(last)end-point,and such that for any16i¡j6p there is an[i;j]interval in the set.Then G p,the overlap graph of I,is called the complete overlap graph on p end-points.Note that for any1n transportation matrix corresponds a complete overlap graph.Also,one can verify that!= p=2 for G p.Clearly,this implies that!6 p=2 for any overlap graph on p end-points.Note as well that for any G p;2!¿ p=2 .However,there are cases were2!¡ p=2 .For example,the overlap graph of the following set of intervals: {[i;j]:16i6p−2;j=i+2},for any p¿9.Now,if!¡ p=4 ,then one can use Unger’s approximation algorithm[18]to obtain a2!-coloring.Otherwise,one can use a simple modiÿcation of the O(|V|) p=2 -coloring procedure for complete overlap graphs mentioned before Lemma4.3.Hence, Theorem5.1.Given an overlap graph G;a min{2!; p=2 }-coloring can be found in O(|V|2)time.Recall that,in a way,the2!-coloring obtained by Unger[18]is the best approxima-tion,since he proved that the problem ofÿnding a(2!−1)-coloring is NP-complete. However,as was shown in the previous section2!and p=2 are not comparable.AcknowledgementsWe are grateful to Joseph(Se )Naor and Ron Holzman for many stimulating discussions which made a substantial contribution to this paper.This research was partially supported by the Fund for the Promotion of Research at the Technion.We also thanks the referees for their valuable comments.References[1]A.Aslidis,Minimizing of overstowage in containership operations,Oper.Res.90(1990)457–471.[2]M.Avriel,M.Penn,Exact and approximate solutions of the container ship stowage problem,Comput.Ind.Eng.25(1993)271–274.[3]M.Avriel,M.Penn,N.Shpirer,S.Witteboon,Stowage planning for container ships to reduce thenumber of shifts,Ann.Oper.Res.–Math.Ind.Systems76(1997)55–71.[4]R.C.Botter,M.A.Brinati,Stowage container planning:a model for getting an optimal solution,IFIPTrans.B(Application in Tech.)B–5(1992)217–229.[5]U.Blasum,M.R.Bussiek,W.Hochst a ttler,C.Moll H.Scheel,T.Winter,Scheduling trams in themorning,Math.Meth.Oper.Res.MMOR49(1999)137–148.[6]A.Bouchet,Reducing prime graphs and recognizing circle graphs,Combinatorica7(1987)243–254.[7]A.Bouchet,Circle graphs obstruction,bin.Theory Ser.B60(1994)107–145.[8]J.A.Bondy,U.S.R.Murty,Graph Theory with Applications,Elsevier,New York,1976.[9]S.Even,A.Itai,Queues,stacks and graphs,in:Kohavi,Paz(Eds.),Theory of Machines andComputations,Academic Press,New York,71–86,1971.M.Avriel et al./Discrete Applied Mathematics103(2000)271–279279 [10]F.Gavril,Algorithms for a maximum clique and a maximum independent set of a circle graph,Networks3(1973)261–273.[11]M.R.Garey,D.S.Johnson,ler,C.H.Papadimitriu,The complexity of coloring circular arcsand chords,SIAM J.Algebraic Disc.Meth.1(2)(1980)216–227.[12]M.C.Golumbic,Algorithmic Graph Theory and Perfect Graphs,Academic Press,New York,1980.[13]P.Gabor,W.Hsu,K.Supowit,Recognizing circle graphs in polynomial time,put.Mach.36(1989)435–474.[14]R.Holzman,private communication,1994.[15]D.Rotem,J.Urrutia,Finding maximum clique in circle graphs,Networks11(1981)269–278.[16]J.J.Shields,A computer-aided preplanning system,Marine Technol.21(1984)370–383.[17]J.P.Spinrad,Recognition of circle graphs,J.Algorithms16(1994)264–282.[18]W.Unger,On the k-coloring of circle graphs,Proceedings of STACS88,Lecture Notes in ComputerScience,Vol.294,Springer,Berlin,1988,pp.61–72.[19]W.Unger,The complexity of coloring circle graphs,Proceedings of STACS92,Lecture Notes inComputer Science,Vol.577,Springer,Berlin,1992,pp.389–400.。

相关文档
最新文档